Package | Description |
---|---|
com.oracle.bmc.auth.exception | |
com.oracle.bmc.http.internal | |
com.oracle.bmc.model | |
com.oracle.bmc.retrier |
Modifier and Type | Class and Description |
---|---|
class |
AuthClientException
Authentication client exception.
|
class |
AuthClientForbiddenException
Exception thrown when the client failed to authorize to the auth service using configured key
suppliers
|
class |
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.
|
Modifier and Type | Method and 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.
|
Constructor and 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) |
Modifier and Type | Method and 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) |
Modifier and Type | Method and Description |
---|---|
static BmcException |
BmcException.createClientSide(String message,
Throwable cause,
String opcRequestId,
ServiceDetails serviceDetails) |
Modifier and Type | Method and Description |
---|---|
static boolean |
DefaultRetryCondition.isProcessingException(BmcException exception) |
boolean |
RetryOnOpenCircuitBreakerDefaultRetryCondition.shouldBeRetried(BmcException exception) |
boolean |
RetryCondition.shouldBeRetried(BmcException exception)
Check if the operation should be retried.
|
boolean |
DefaultRetryCondition.shouldBeRetried(BmcException exception) |
Copyright © 2016–2024. All rights reserved.