Class PauseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.amazonaws.AmazonClientException
-
- com.amazonaws.services.s3.transfer.exception.PauseException
-
- All Implemented Interfaces:
Serializable
public class PauseException extends AmazonClientException
Failed to complete a pause operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PauseException(PauseStatus status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PauseStatus
getPauseStatus()
Returns more information on why the pause failed.boolean
isRetryable()
Returns a hint as to whether it makes sense to retry upon this exception.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
PauseException
public PauseException(PauseStatus status)
-
-
Method Detail
-
getPauseStatus
public PauseStatus getPauseStatus()
Returns more information on why the pause failed.
-
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. An paused exception is not intended to be retried.- Overrides:
isRetryable
in classAmazonClientException
-
-