Class InvalidAuthorizationException
The exception that is thrown when a request presents invalid
authorization information to the service.
Namespace: Oracle.NoSQL.SDK
Assembly: Oracle.NoSQL.SDK.dll
Syntax
public class InvalidAuthorizationException : RetryableException
Remarks
Note that this is different from AuthorizationException which indicates failure to obtain the authorization information.
In most cases, InvalidAuthorizationException is due to presenting expired authorization information and thus it can be retried, at which time the driver will renew the authorization information. The NoSQLRetryHandler will always retry InvalidAuthorizationException once but will not retry again if InvalidAuthorizationException occurs twice in a row, because this means that renewing of authorization information did not solve the problem and the error is due to some other reason.
Constructors
Name | Description |
---|---|
InvalidAuthorizationException() | Initializes a new instance of InvalidAuthorizationException. |
InvalidAuthorizationException(String) | Initializes a new instance of InvalidAuthorizationException with the message that describes the current exception. |
InvalidAuthorizationException(String, Exception) | Initializes a new instance of InvalidAuthorizationException with the message that describes the current exception and an inner exception. |