Class WriteOnlyStorageException
Object
Throwable
Exception
DataStoreException
WriteOnlyStorageException
- All Implemented Interfaces:
Serializable, LocalizedException
Thrown when a
DataStore cannot perform a read operation.
This exception may happen if the Channel used by a data store
implements WritableByteChannel only, without implementing also
ReadableByteChannel.- Since:
- 1.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an exception with no cause and no details message.WriteOnlyStorageException(String message) Creates an exception with the specified details message.WriteOnlyStorageException(String message, Throwable cause) Creates an exception with the specified details message and cause.Creates an exception with the specified cause and no details message. -
Method Summary
Methods inherited from class DataStoreException
getInternationalMessage, getLocalizedMessage, getMessage, initCauseModifier and TypeMethodDescriptionIf this exception is capable to return the message in various locales, returns that message.Returns a localized version of the exception message, typically for final user.Returns the exception message in the default locale, typically for system administrator.initCause(Throwable cause) Initializes the cause of this throwable to the specified value.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WriteOnlyStorageException
public WriteOnlyStorageException()Creates an exception with no cause and no details message. -
WriteOnlyStorageException
Creates an exception with the specified details message.- Parameters:
message- the detail message.
-
WriteOnlyStorageException
Creates an exception with the specified cause and no details message.- Parameters:
cause- the cause for this exception.
-
WriteOnlyStorageException
-