public class DmtIllegalStateException extends RuntimeException
| Constructor and Description |
|---|
DmtIllegalStateException()
Create an instance of the exception with no message.
|
DmtIllegalStateException(String message)
Create an instance of the exception with the specified message.
|
DmtIllegalStateException(String message,
Throwable cause)
Create an instance of the exception with the specified message and cause
exception.
|
DmtIllegalStateException(Throwable cause)
Create an instance of the exception with the specified cause exception
and no 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, toStringpublic DmtIllegalStateException()
public DmtIllegalStateException(String message)
message - the reason for the exceptionpublic DmtIllegalStateException(Throwable cause)
cause - the cause of the exceptionpublic Throwable getCause()
null if no cause was
set.public Throwable initCause(Throwable cause)
initCause in class Throwablecause - 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 © 2006-2016 OSGi Alliance. All Rights Reserved.