public class BadParameterException
extends java.lang.IllegalArgumentException
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
msg |
protected java.lang.Throwable |
rootCause |
Constructor and Description |
---|
BadParameterException(java.lang.String message)
Constructor
|
BadParameterException(java.lang.String message,
java.lang.Throwable cause)
Constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
Returns the value of message
|
void |
setMessage(java.lang.String message)
Sets the message to the given value.
|
public BadParameterException(java.lang.String message)
message
- exception messagepublic BadParameterException(java.lang.String message, java.lang.Throwable cause)
message
- exception messagecause
- the cause (which is saved for later retrieval
by the Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void setMessage(java.lang.String message)
message
- exception message