Package com.oracle.bmc.auth.exception
Class AuthClientForbiddenException
- 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.AuthClientForbiddenException
-
- All Implemented Interfaces:
Serializable
public class AuthClientForbiddenException extends AuthClientException
Exception thrown when the client failed to authorize 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 AuthClientForbiddenException(BmcException e)
AuthClientForbiddenException(String message, BmcException cause)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
matches(BmcException cause)
Return true if the exception is a “client forbidden” 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
-
AuthClientForbiddenException
public AuthClientForbiddenException(BmcException e)
-
AuthClientForbiddenException
public AuthClientForbiddenException(String message, BmcException cause)
-
-
Method Detail
-
matches
public static boolean matches(BmcException cause)
Return true if the exception is a “client forbidden” exception.- Parameters:
cause
- BMC exception to check- Returns:
- true if the exception is a “client forbidden” exception
-
-