@Generated(value="software.amazon.awssdk:codegen") public final class ServiceException extends ImagebuilderException implements ToCopyableBuilder<ServiceException.Builder,ServiceException>
This exception is thrown when the service encounters an unrecoverable exception.
Modifier and Type | Class and Description |
---|---|
static interface |
ServiceException.Builder |
Modifier and Type | Method and Description |
---|---|
static ServiceException.Builder |
builder() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServiceException.Builder> |
serializableBuilderClass() |
ServiceException.Builder |
toBuilder()
Create a
AwsServiceException.Builder initialized with the properties of this AwsServiceException . |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingException
extendedRequestId, requestId, statusCode
create, retryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
copy
equalsBySdkFields
public ServiceException.Builder toBuilder()
AwsServiceException
AwsServiceException.Builder
initialized with the properties of this AwsServiceException
.toBuilder
in interface ToCopyableBuilder<ServiceException.Builder,ServiceException>
toBuilder
in class ImagebuilderException
public static ServiceException.Builder builder()
public static Class<? extends ServiceException.Builder> serializableBuilderClass()