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, initCause
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
-