public class SdkException extends RuntimeException
SdkServiceException
,
SdkClientException
,
Serialized FormConstructor and Description |
---|
SdkException(String message)
Creates a new SdkBaseException with the specified message.
|
SdkException(String message,
Throwable t)
Creates a new SdkException with the specified message, and root
cause.
|
SdkException(Throwable t)
Creates a new SdkBaseException with the root cause.
|
Modifier and Type | Method and Description |
---|---|
boolean |
retryable()
Specifies whether or not an exception can be expected to succeed on a retry.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public SdkException(Throwable t)
t
- The underlying cause of this exception.public SdkException(String message)
message
- An error message describing why this exception was thrown.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.