Class AuthorizationException
The exception that is thrown while trying to obtain the authorization
information needed to perform an operation on the Oracle NoSQL
Database.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class AuthorizationException : NoSQLException
Remarks
This exception is thrown by the authorization provider when the driver calls ApplyAuthorizationAsync(Request, HttpRequestMessage, CancellationToken). It indicates failure to obtain the authorization information. This instance may contain the underlying exception that is specific to the implementation of the authorization provider as InnerException property.
AuthorizationException instance is retryable if and only if it contains the inner exception and the inner exception itself is retryable (see IRetryHandler for the description of retryable exceptions).
Constructors
Name | Description |
---|---|
AuthorizationException() | Initializes a new instance of AuthorizationException. |
AuthorizationException(String) | Initializes a new instance of AuthorizationException with the message that describes the current exception. |
AuthorizationException(String, Exception) | Initializes a new instance of AuthorizationException with the message that describes the current exception and an inner exception. |
Properties
Name | Description |
---|---|
IsRetryable | Gets the value indicating whether the operation that has thrown this exception may be retried. |