public class DmtIllegalStateException
extends java.lang.RuntimeException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
DmtIllegalStateException()
Create an instance of the exception with no message.
|
DmtIllegalStateException(java.lang.String message)
Create an instance of the exception with the specified message.
|
DmtIllegalStateException(java.lang.String message,
java.lang.Throwable cause)
Create an instance of the exception with the specified message and cause
exception.
|
DmtIllegalStateException(java.lang.Throwable cause)
Create an instance of the exception with the specified cause exception
and no message.
|
Modifier and Type | Method and Description |
---|---|
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.
|
private static final long serialVersionUID
public DmtIllegalStateException()
public DmtIllegalStateException(java.lang.String message)
message
- the reason for the exceptionpublic DmtIllegalStateException(java.lang.Throwable cause)
cause
- the cause of the exceptionpublic DmtIllegalStateException(java.lang.String message, java.lang.Throwable cause)
message
- the reason for the exceptioncause
- the cause of the exceptionpublic java.lang.Throwable getCause()
null
if no cause was
set.getCause
in class java.lang.Throwable
null
if no cause was
set.public java.lang.Throwable initCause(java.lang.Throwable cause)
initCause
in class java.lang.Throwable
cause
- 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.