Class AbortedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- software.amazon.awssdk.core.exception.SdkException
-
- software.amazon.awssdk.core.exception.SdkClientException
-
- software.amazon.awssdk.core.exception.AbortedException
-
- All Implemented Interfaces:
Serializable
public final class AbortedException extends SdkClientException
Extension ofSdkClientExceptionthat is thrown whenever an operation has been aborted by the SDK. This exception is not meant to be retried.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAbortedException.Builderprotected static classAbortedException.BuilderImpl
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AbortedException.Builderbuilder()static AbortedExceptioncreate(String message)static AbortedExceptioncreate(String message, Throwable cause)AbortedException.BuildertoBuilder()Create aSdkClientException.Builderinitialized with the properties of thisSdkClientException.-
Methods inherited from class software.amazon.awssdk.core.exception.SdkException
retryable
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
create
public static AbortedException create(String message)
-
create
public static AbortedException create(String message, Throwable cause)
-
toBuilder
public AbortedException.Builder toBuilder()
Description copied from class:SdkClientExceptionCreate aSdkClientException.Builderinitialized with the properties of thisSdkClientException.- Overrides:
toBuilderin classSdkClientException- Returns:
- A new builder initialized with this config's properties.
-
builder
public static AbortedException.Builder builder()
-
-