java.util.prefs

Class BackingStoreException

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

UNKNOWN: updated to 1.4

Constructor Summary
BackingStoreException(String message)
Creates a new exception with a descriptive message.
BackingStoreException(Throwable cause)
Create a new exception with the given cause.

Constructor Detail

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