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.retrier -
-
Uses of BmcException in com.oracle.bmc.auth.exception
Subclasses of BmcException in com.oracle.bmc.auth.exception Modifier and Type Class Description classAuthClientExceptionAuthentication client exception.classAuthClientForbiddenExceptionException thrown when the client failed to authorize to the auth service using configured key suppliersclassAuthClientNotAuthorizedExceptionException thrown when the client failed to authenticate to the auth service using configured key suppliers.classAuthServerExceptionException thrown when something goes wrong on the authentication server.classAuthServerUnavailableExceptionException 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 booleanAuthClientForbiddenException. matches(BmcException cause)Return true if the exception is a “client forbidden” exception.static booleanAuthClientNotAuthorizedException. matches(BmcException cause)Return true if the exception is a “client unauthorized” exception.static booleanAuthServerUnavailableException. 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 throw BmcException Modifier and Type Method Description <T extends BmcRequest>
javax.ws.rs.core.ResponseRestClient. delete(WrappedInvocationBuilder ib, T request)Execute a delete on a resource and get the response.<T extends BmcRequest>
javax.ws.rs.core.ResponseRestClient. get(WrappedInvocationBuilder ib, T request)Request a resource.<T extends BmcRequest>
javax.ws.rs.core.ResponseRestClient. head(WrappedInvocationBuilder ib, T request)Execute a head request for a resource and return the response.<T extends BmcRequest>
javax.ws.rs.core.ResponseRestClient. patch(WrappedInvocationBuilder ib, Object body, T request)Patch a request object to the endpoint represented by the web target and get the response.<T extends BmcRequest>
javax.ws.rs.core.ResponseRestClient. post(WrappedInvocationBuilder ib, Object body, T request)Post a request object to the endpoint represented by the web target and get the response.<T extends BmcRequest>
javax.ws.rs.core.ResponseRestClient. put(WrappedInvocationBuilder ib, Object body, T request)Put a request object to the endpoint represented by the web target and get the response.static <T> TResponseHelper. readEntity(javax.ws.rs.core.Response response, Class<T> entityType)Reads an entity out of the given response if its status code is 2xx or 304. -
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 booleanDefaultRetryCondition. isProcessingException(BmcException exception)booleanDefaultRetryCondition. shouldBeRetried(BmcException exception)Check if the operation should be retried based on the givenBmcException.booleanRetryCondition. shouldBeRetried(BmcException exception)Check if the operation should be retried.booleanRetryOnOpenCircuitBreakerDefaultRetryCondition. shouldBeRetried(BmcException exception)
-