Modifier and Type | Method and Description |
---|---|
SdkException |
Response.exception()
The modelled exception returned by the service.
|
Modifier and Type | Method and Description |
---|---|
Response.Builder<T> |
Response.Builder.exception(SdkException exception)
The modelled exception returned by the service.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseHandler<? extends SdkException> |
ClientExecutionParams.getErrorResponseHandler() |
Modifier and Type | Method and Description |
---|---|
ClientExecutionParams<InputT,OutputT> |
ClientExecutionParams.withErrorResponseHandler(HttpResponseHandler<? extends SdkException> errorResponseHandler) |
Modifier and Type | Class and Description |
---|---|
class |
EndpointDiscoveryFailedException
This exception is thrown when the SDK was unable to retrieve an endpoint from AWS.
|
Modifier and Type | Class and Description |
---|---|
class |
AbortedException
Extension of
SdkClientException that is thrown whenever an
operation has been aborted by the SDK. |
class |
ApiCallAttemptTimeoutException
Signals that an api call attempt could not complete within the specified timeout.
|
class |
ApiCallTimeoutException
Signals that an api call could not complete within the specified timeout.
|
class |
Crc32MismatchException
Extension of
SdkClientException that is thrown whenever the
client-side computed CRC32 does not match the server-side computed CRC32. |
class |
NonRetryableException
Extension of
SdkException that can be used by clients to
explicitly have an exception not retried. |
class |
RetryableException
Extension of
SdkException that can be used by clients to
explicitly have an exception retried. |
class |
SdkClientException
Base type for all client exceptions thrown by the SDK.
|
class |
SdkServiceException
Extension of SdkException that represents an error response returned by
the requested downstream service.
|
Modifier and Type | Method and Description |
---|---|
SdkException |
SdkException.Builder.build()
Creates a new
SdkException with the specified properties. |
SdkException |
SdkException.BuilderImpl.build() |
static SdkException |
SdkException.create(String message,
Throwable cause) |
Constructor and Description |
---|
BuilderImpl(SdkException ex) |
Constructor and Description |
---|
CombinedResponseHandler(HttpResponseHandler<OutputT> successResponseHandler,
HttpResponseHandler<? extends SdkException> errorResponseHandler) |
Constructor and Description |
---|
CombinedResponseAsyncHttpResponseHandler(TransformingAsyncResponseHandler<OutputT> successResponseHandler,
TransformingAsyncResponseHandler<? extends SdkException> errorResponseHandler) |
Modifier and Type | Method and Description |
---|---|
SdkException |
RetryableStageHelper.getLastException()
Retrieve the last call failure exception encountered by this execution, updated whenever
RetryableStageHelper.setLastException(java.lang.Throwable) is
invoked. |
SdkException |
RetryableStageHelper.retryPolicyDisallowedRetryException()
Return the exception that should be thrown, because the retry policy did not allow the request to be retried.
|
Modifier and Type | Method and Description |
---|---|
Integer |
DefaultTokenBucketExceptionCostFunction.apply(SdkException e) |
boolean |
ClockSkewAdjuster.shouldAdjust(SdkException exception)
Returns true if the clock should be adjusted for future requests.
|
Modifier and Type | Method and Description |
---|---|
static SdkException |
ThrowableUtils.asSdkException(Throwable t)
Wraps the given
Throwable in SdkException if necessary. |
Modifier and Type | Method and Description |
---|---|
SdkException |
RetryPolicyContext.exception() |
Modifier and Type | Method and Description |
---|---|
RetryPolicyContext.Builder |
RetryPolicyContext.Builder.exception(SdkException exception) |
static boolean |
RetryUtils.isClockSkewException(SdkException exception)
Returns true if the specified exception is a clock skew error.
|
static boolean |
RetryUtils.isRequestEntityTooLargeException(SdkException exception)
Returns true if the specified exception is a request entity too large error.
|
static boolean |
RetryUtils.isServiceException(SdkException e) |
static boolean |
RetryUtils.isThrottlingException(SdkException exception)
Returns true if the specified exception is a throttling error.
|
static SdkServiceException |
RetryUtils.toServiceException(SdkException e) |
Copyright © 2021. All rights reserved.