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, toString
public 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 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 © 2006-2014 OSGi Alliance. All Rights Reserved.