|
OSGi™ Compendium Release 5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.osgi.service.prefs.BackingStoreException
public class BackingStoreException
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.
| Constructor Summary | |
|---|---|
BackingStoreException(java.lang.String message)
Constructs a BackingStoreException with the specified detail
message. |
|
BackingStoreException(java.lang.String message,
java.lang.Throwable cause)
Constructs a BackingStoreException with the specified detail
message. |
|
| Method Summary | |
|---|---|
java.lang.Throwable |
getCause()
Returns the cause of this exception or null if no cause was set. |
java.lang.Throwable |
initCause(java.lang.Throwable cause)
Initializes the cause of this exception to the specified value. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BackingStoreException(java.lang.String message)
BackingStoreException with the specified detail
message.
message - The detail message.
public BackingStoreException(java.lang.String message,
java.lang.Throwable cause)
BackingStoreException with the specified detail
message.
message - The detail message.cause - The cause of the exception. May be null.| Method Detail |
|---|
public java.lang.Throwable getCause()
null if no cause was set.
getCause in class java.lang.Throwablenull if no cause was set.public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause in class java.lang.Throwablecause - The cause of this exception.
java.lang.IllegalArgumentException - If the specified cause is this
exception.
java.lang.IllegalStateException - If the cause of this exception has already
been set.
|
OSGi™ Compendium Release 5 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||