Package org.glassfish.ha.store.api
Class BackingStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.glassfish.ha.store.api.BackingStoreException
- All Implemented Interfaces:
Serializable
This exception is thrown to signal any BackingStore specific exception.
BackingStore.getCause()
can be used to get the actual store
specific exception.- Author:
- [email protected], [email protected]
- See Also:
-
Constructor Summary
ConstructorDescriptionCreates a BackingStoreException with null as its detail message.BackingStoreException
(String message) constructs a BackingStoreException with the specified detail messageBackingStoreException
(String message, Throwable th) Constructs a new BackingStoreException exception with the specified cause and a detail message of (cause==null ? null : cause.toString()) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BackingStoreException
public BackingStoreException()Creates a BackingStoreException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call toThrowable.initCause(java.lang.Throwable)
. -
BackingStoreException
constructs a BackingStoreException with the specified detail message- Parameters:
message
- the detail message. The detail message is saved for later retrieval by theThrowable.getMessage()
method.
-
BackingStoreException
Constructs a new BackingStoreException exception with the specified cause and a detail message of (cause==null ? null : cause.toString())- Parameters:
message
- the detail message. The detail message is saved forth
- the cause
-