messif.buckets
Class StorageFailureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
messif.buckets.BucketStorageException
messif.buckets.StorageFailureException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- InvalidAddressException, ReadonlyStorageException
public class StorageFailureException
- extends BucketStorageException
This exception indicates that storing or reading object from bucket is not possible
due to lower layer storage exception.
- See Also:
- Serialized Form
Constructor Summary |
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 |
Method Summary |
java.lang.String |
toString()
Returns a short description of this throwable. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
StorageFailureException
public StorageFailureException(java.lang.Throwable cause)
- Creates a new instance of OccupationLowException
- Parameters:
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.)
StorageFailureException
public StorageFailureException(java.lang.String msg,
java.lang.Throwable cause)
- Creates a new instance of OccupationLowException with the specified detail message.
- Parameters:
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.)
toString
public java.lang.String toString()
- Returns a short description of this throwable.
If there was a "cause" throwable, it is appended to the string.
- Overrides:
toString
in class java.lang.Throwable
- Returns:
- a string representation of this throwable.