Uses of Class
com.oracle.bmc.model.BmcException
-
Packages that use BmcException Package Description com.oracle.bmc.auth.exception com.oracle.bmc.http.internal com.oracle.bmc.model com.oracle.bmc.retrier -
-
Uses of BmcException in com.oracle.bmc.auth.exception
Subclasses of BmcException in com.oracle.bmc.auth.exception Modifier and Type Class Description class
AuthClientException
Authentication client exception.class
AuthClientForbiddenException
Exception thrown when the client failed to authorize to the auth service using configured key suppliersclass
AuthClientNotAuthorizedException
Exception thrown when the client failed to authenticate to the auth service using configured key suppliers.class
AuthServerException
Exception thrown when something goes wrong on the authentication server.class
AuthServerUnavailableException
Exception thrown when the authentication server is unavailable.Methods in com.oracle.bmc.auth.exception with parameters of type BmcException Modifier and Type Method Description static boolean
AuthClientForbiddenException. matches(BmcException cause)
Return true if the exception is a “client forbidden” exception.static boolean
AuthClientNotAuthorizedException. matches(BmcException cause)
Return true if the exception is a “client unauthorized” exception.static boolean
AuthServerUnavailableException. matches(BmcException cause)
Return true if the exception is a “server unavailable” exception.Constructors in com.oracle.bmc.auth.exception with parameters of type BmcException Constructor Description AuthClientException(String message, BmcException cause)
Create a wrapper around an authentication client exception.AuthClientForbiddenException(BmcException e)
AuthClientForbiddenException(String message, BmcException cause)
AuthClientNotAuthorizedException(BmcException e)
AuthClientNotAuthorizedException(String message, BmcException cause)
AuthServerException(BmcException e)
AuthServerException(String message, BmcException cause)
AuthServerUnavailableException(BmcException e)
AuthServerUnavailableException(String message, BmcException cause)
-
Uses of BmcException in com.oracle.bmc.http.internal
Methods in com.oracle.bmc.http.internal that return BmcException Modifier and Type Method Description BmcException
ResponseErrorBmcExceptionFactory. createRuntimeException(int statusCode, String opcRequestId, ResponseHelper.ErrorCodeAndMessage errorResponse, ServiceDetails serviceDetails)
BmcException
ResponseErrorBmcExceptionFactory. createRuntimeException(int statusCode, String serviceCode, String message, String opcRequestId, ServiceDetails serviceDetails)
BmcException
ResponseErrorBmcExceptionFactory. createRuntimeException(int statusCode, String serviceCode, String message, String opcRequestId, Throwable cause, ServiceDetails serviceDetails)
-
Uses of BmcException in com.oracle.bmc.model
Methods in com.oracle.bmc.model that return BmcException Modifier and Type Method Description static BmcException
BmcException. createClientSide(String message, Throwable cause, String opcRequestId, ServiceDetails serviceDetails)
-
Uses of BmcException in com.oracle.bmc.retrier
Methods in com.oracle.bmc.retrier with parameters of type BmcException Modifier and Type Method Description static boolean
DefaultRetryCondition. isProcessingException(BmcException exception)
boolean
DefaultRetryCondition. shouldBeRetried(BmcException exception)
boolean
RetryCondition. shouldBeRetried(BmcException exception)
Check if the operation should be retried.boolean
RetryOnOpenCircuitBreakerDefaultRetryCondition. shouldBeRetried(BmcException exception)
-