java.util.prefs
Class BackingStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.util.prefs.BackingStoreException
- All Implemented Interfaces:
- Serializable
public class BackingStoreException
- extends Exception
Chained exception thrown when backing store fails. This exception is
only thrown from methods that actually have to access the backing store,
such as clear(), keys(), childrenNames(), nodeExists(), removeNode(),
flush(), sync(), exportNode(), exportSubTree()
; normal operations
do not throw BackingStoreExceptions.
Note that although this class inherits the Serializable interface, an
attempt to serialize will fail with a NotSerializableException
.
- Since:
- 1.4
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BackingStoreException
public BackingStoreException(String message)
- Creates a new exception with a descriptive message.
- Parameters:
message
- the message
BackingStoreException
public BackingStoreException(Throwable cause)
- Create a new exception with the given cause.
- Parameters:
cause
- the cause