messif.buckets.storage
Class ReadonlyStorageException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by messif.buckets.BucketStorageException
              extended by messif.buckets.StorageFailureException
                  extended by messif.buckets.storage.ReadonlyStorageException
All Implemented Interfaces:
java.io.Serializable

public class ReadonlyStorageException
extends StorageFailureException

Exception that indicates that a write operation was requested on a read-only storage.

See Also:
Serialized Form

Constructor Summary
ReadonlyStorageException()
          Creates a ReadonlyStorageException with no detail message.
ReadonlyStorageException(java.lang.String message)
          Creates a ReadonlyStorageException with the specified detail message.
 
Method Summary
 
Methods inherited from class messif.buckets.StorageFailureException
toString
 
Methods inherited from class messif.buckets.BucketStorageException
getErrorCode
 
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
 

Constructor Detail

ReadonlyStorageException

public ReadonlyStorageException()
Creates a ReadonlyStorageException with no detail message.


ReadonlyStorageException

public ReadonlyStorageException(java.lang.String message)
Creates a ReadonlyStorageException with the specified detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the Throwable.getMessage() method)