Package org.duracloud.storage.error
Class StorageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.duracloud.common.error.DuraCloudRuntimeException
-
- org.duracloud.common.error.RetryFlaggableException
-
- org.duracloud.storage.error.StorageException
-
- All Implemented Interfaces:
Serializable,MessageFormattable
- Direct Known Subclasses:
ChecksumMismatchException,NotFoundException,SpaceAlreadyExistsException,StorageStateException
public class StorageException extends RetryFlaggableException
Exception thrown by StorageProvider implementations.- Author:
- Bill Branan
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.duracloud.common.error.RetryFlaggableException
NO_RETRY, retry, RETRY
-
-
Constructor Summary
Constructors Constructor Description StorageException(String message)StorageException(String message, boolean retry)StorageException(String message, Throwable throwable)StorageException(String message, Throwable throwable, boolean retry)StorageException(Throwable throwable)StorageException(Throwable throwable, boolean retry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisRetry()-
Methods inherited from class org.duracloud.common.error.DuraCloudRuntimeException
getArgs, getFormattedMessage, getKey, setArgs
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
isRetry
public boolean isRetry()
- Overrides:
isRetryin classRetryFlaggableException
-
-