java.util.prefs
Class BackingStoreException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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

Constructor Summary
BackingStoreException(String message)
          Creates a new exception with a descriptive message.
BackingStoreException(Throwable cause)
          Create a new exception with the given cause.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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