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.BmcException
OPC_REQUEST_ID_HEADER 
 - 
 
- 
Constructor Summary
Constructors Constructor Description AuthClientNotAuthorizedException(BmcException e)AuthClientNotAuthorizedException(String message, BmcException cause) 
- 
Method Summary
All 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.BmcException
createClientSide, getAdditionalProperties, getMessage, getMessageArguments, getOpcRequestId, getOriginalMessage, getOriginalMessageTemplate, getServiceCode, getServiceDetails, getStatusCode, getUnmodifiedMessage, isClientSide, isTimeout 
- 
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
AuthClientNotAuthorizedException
public AuthClientNotAuthorizedException(BmcException e)
 
- 
AuthClientNotAuthorizedException
public AuthClientNotAuthorizedException(String message, BmcException cause)
 
 - 
 
- 
Method Detail
- 
matches
public 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
 
 
 - 
 
 -