public class StorageFailureException extends BucketStorageException
ERROR_CODE_CONFLICT, ERROR_CODE_INTERNAL_ERROR, ERROR_CODE_NOT_FOUND, ERROR_CODE_NOT_SET
Constructor and Description |
---|
StorageFailureException(java.lang.String msg,
java.lang.Throwable cause)
Creates a new instance of OccupationLowException with the specified detail message.
|
StorageFailureException(java.lang.Throwable cause)
Creates a new instance of OccupationLowException
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
Returns a short description of this throwable.
|
getErrorCode, getHttpErrorCode, isHttpErrorCodeSet, setHttpErrorCode
public StorageFailureException(java.lang.Throwable cause)
cause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public StorageFailureException(java.lang.String msg, java.lang.Throwable cause)
msg
- the detail messagecause
- the cause (which is saved for later retrieval by the
Throwable.getCause()
method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)