Class BackingStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.osgi.service.prefs.BackingStoreException
- All Implemented Interfaces:
Serializable
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.
- Author:
- $Id: a5a8d03c2b50f6b02cf791ac3df6f03d136e2afa $
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBackingStoreException(String message) Constructs aBackingStoreExceptionwith the specified detail message.BackingStoreException(String message, Throwable cause) Constructs aBackingStoreExceptionwith the specified detail message. -
Method Summary
Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
BackingStoreException
Constructs aBackingStoreExceptionwith the specified detail message.- Parameters:
message- The detail message.
-
BackingStoreException
-
-
Method Details
-
getCause
-
initCause
Initializes the cause of this exception to the specified value.- Overrides:
initCausein classThrowable- Parameters:
cause- The cause of this exception.- Returns:
- This exception.
- Throws:
IllegalArgumentException- If the specified cause is this exception.IllegalStateException- If the cause of this exception has already been set.- Since:
- 1.1
-