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
Thrown to indicate that a preferences operation could not complete because
of a failure in the backing store, or a failure to contact the backing
store.
Note, that although BackingStoreException inherits Serializable interface
from Exception, it is not intended to be Serializable. Appropriate
serialization methods are implemented to throw NotSerializableException.
- Since:
- 1.4
- Author:
- Josh Bloch
Fields inherited from class java.lang.Exception |
|
Fields inherited from class java.lang.Throwable |
|
Method Summary |
private void |
readObject(ObjectInputStream in)
Throws NotSerializableException, since BackingStoreException objects
are not intended to be serializable. |
private void |
writeObject(ObjectOutputStream out)
Throws NotSerializableException, since BackingStoreException objects
are not intended to be serializable. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
BackingStoreException
public BackingStoreException(String s)
- Constructs a BackingStoreException with the specified detail message.
- Parameters:
s
- the detail message.
BackingStoreException
public BackingStoreException(Throwable cause)
- Constructs a BackingStoreException with the specified cause.
- Parameters:
cause
- the cause
writeObject
private void writeObject(ObjectOutputStream out)
throws NotSerializableException
- Throws NotSerializableException, since BackingStoreException objects
are not intended to be serializable.
- Throws:
NotSerializableException
readObject
private void readObject(ObjectInputStream in)
throws NotSerializableException
- Throws NotSerializableException, since BackingStoreException objects
are not intended to be serializable.
- Throws:
NotSerializableException