Package com.oracle.bmc.auth.exception
Class AuthClientNotAuthorizedException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- com.oracle.bmc.model.SdkRuntimeException
- 
- com.oracle.bmc.model.BmcException
- 
- com.oracle.bmc.auth.exception.AuthClientException
- 
- com.oracle.bmc.auth.exception.AuthClientNotAuthorizedException
 
 
 
 
 
 
 
- 
- All Implemented Interfaces:
- Serializable
 
 public class AuthClientNotAuthorizedException extends AuthClientException Exception thrown when the client failed to authenticate to the auth service using configured key suppliers.- See Also:
- Serialized Form
 
- 
- 
Field Summary- 
Fields inherited from class com.oracle.bmc.model.BmcExceptionOPC_REQUEST_ID_HEADER
 
- 
 - 
Constructor SummaryConstructors Constructor Description AuthClientNotAuthorizedException(BmcException e)AuthClientNotAuthorizedException(String message, BmcException cause)
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static booleanmatches(BmcException cause)Return true if the exception is a “client unauthorized” exception.- 
Methods inherited from class com.oracle.bmc.model.BmcExceptioncreateClientSide, getAdditionalProperties, getMessage, getMessageArguments, getOpcRequestId, getOriginalMessage, getOriginalMessageTemplate, getServiceCode, getServiceDetails, getStatusCode, getUnmodifiedMessage, isClientSide, isTimeout
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
- 
 
- 
- 
- 
Constructor Detail- 
AuthClientNotAuthorizedExceptionpublic AuthClientNotAuthorizedException(BmcException e) 
 - 
AuthClientNotAuthorizedExceptionpublic AuthClientNotAuthorizedException(String message, BmcException cause) 
 
- 
 - 
Method Detail- 
matchespublic static boolean matches(BmcException cause) Return true if the exception is a “client unauthorized” exception.- Parameters:
- cause- BMC exception to check
- Returns:
- true if the exception is a “client unauthorized” exception
 
 
- 
 
-