Show / Hide Table of Contents

Class ForbiddenException

Contains 403(forbidden) HTTP client error code details that result from a call to a Web API.

Inheritance
object
Exception
ApiException<ForbiddenErrorInfo>
ForbiddenException
Implements
ISerializable
Inherited Members
ApiException<ForbiddenErrorInfo>.ErrorInfo
ApiException<ForbiddenErrorInfo>.HttpErrorCode
ApiException<ForbiddenErrorInfo>.Message
ApiException<ForbiddenErrorInfo>.DefaultApiErrorMessage
ApiException<ForbiddenErrorInfo>.GetApiErrorInfo(string)
Exception.GetBaseException()
Exception.GetObjectData(SerializationInfo, StreamingContext)
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.SerializeObjectState
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: DNVGL.One.Compute.Platform.Client.Exceptions
Assembly: DNVGL.One.Compute.Platform.Client.dll
Syntax
public class ForbiddenException : ApiException<ForbiddenErrorInfo>, ISerializable

Constructors

View Source

ForbiddenException(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.

See Also
SystemException

Implements

ISerializable

See Also

SystemException
  • View Source
In this article
Back to top Copyright © DNV AS. All rights reserved.