public class BackingStoreException extends Exception
Constructor and Description |
---|
BackingStoreException(String message)
Constructs a
BackingStoreException with the specified detail
message. |
BackingStoreException(String message,
Throwable cause)
Constructs a
BackingStoreException with the specified detail
message. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this exception or
null if no cause was set. |
Throwable |
initCause(Throwable cause)
Initializes the cause of this exception to the specified value.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public BackingStoreException(String message)
BackingStoreException
with the specified detail
message.message
- The detail message.public Throwable getCause()
null
if no cause was set.public Throwable initCause(Throwable cause)
initCause
in class Throwable
cause
- The cause of this exception.IllegalArgumentException
- If the specified cause is this
exception.IllegalStateException
- If the cause of this exception has already
been set.Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0