Class ForbiddenException
Contains 403(forbidden) HTTP client error code details that result from a call to a Web API.
Implements
Inherited Members
Namespace: DNVGL.One.Compute.Platform.Client.Exceptions
Assembly: DNVGL.One.Compute.Platform.Client.dll
Syntax
public class ForbiddenException : ApiException<ForbiddenErrorInfo>, ISerializable
Constructors
View SourceForbiddenException(ForbiddenErrorInfo, Exception)
Initializes a new instance of the ForbiddenException class with a specified ForbiddenErrorInfo error info.
Declaration
public ForbiddenException(ForbiddenErrorInfo errorInfo, Exception innerException = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ForbiddenErrorInfo | errorInfo | The message that explains the reason for the exception. |
| Exception | innerException | The exception that is the cause of the current exception.If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |