Package com.amazonaws
Class ResetException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.ResetException
-
- All Implemented Interfaces:
Serializable
public class ResetException extends AmazonClientException
Stream reset failure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ResetException()
ResetException(String message)
ResetException(String message, Throwable t)
ResetException(Throwable t)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExtraInfo()
String
getMessage()
boolean
isRetryable()
Returns a hint as to whether it makes sense to retry upon this exception.void
setExtraInfo(String extraInfo)
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isRetryable
public boolean isRetryable()
Returns a hint as to whether it makes sense to retry upon this exception. Default is true, but subclass may override. This method is internal to the SDK. Users should not depend on this method to decide if an exception from an AWS service should be retried. A stream reset exception cannot be retried.- Overrides:
isRetryable
in classAmazonClientException
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getExtraInfo
public String getExtraInfo()
-
setExtraInfo
public void setExtraInfo(String extraInfo)
-
-