public class AmazonClientException
extends java.lang.RuntimeException
AmazonServiceException
,
Serialized FormModifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
AmazonClientException(java.lang.String message)
Creates a new AmazonClientException with the specified message.
|
AmazonClientException(java.lang.String message,
java.lang.Throwable t)
Creates a new AmazonClientException with the specified message, and root
cause.
|
AmazonClientException(java.lang.Throwable t) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRetryable()
Returns a hint as to whether it makes sense to retry upon this exception.
|
private static final long serialVersionUID
public AmazonClientException(java.lang.String message, java.lang.Throwable t)
message
- An error message describing why this exception was thrown.t
- The underlying cause of this exception.public AmazonClientException(java.lang.String message)
message
- An error message describing why this exception was thrown.public AmazonClientException(java.lang.Throwable t)
public boolean isRetryable()