public class InvalidArgumentException extends Exception
Modifier and Type | Field and Description |
---|---|
protected Throwable |
m_Cause
The specialized cause that triggered this Exception.
|
Constructor and Description |
---|
InvalidArgumentException()
Create an
InvalidArgumentException with no detail message. |
InvalidArgumentException(String message)
Create an
InvalidArgumentException with a detail message. |
InvalidArgumentException(String message,
Throwable cause)
Constructs a new
InvalidArgumentException with the
specified error message and specialized cause that triggered this error
condition. |
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause()
Returns the cause of this throwable or null if the cause is
nonexistent or unknown.
|
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
protected Throwable m_Cause
public InvalidArgumentException()
InvalidArgumentException
with no detail message.public InvalidArgumentException(String message)
InvalidArgumentException
with a detail message.message
- the detail message.public InvalidArgumentException(String message, Throwable cause)
InvalidArgumentException
with the
specified error message and specialized cause that triggered this error
condition.message
- the detail of the error messagecause
- the specialized cause that triggered this exceptionpublic Throwable getCause()
Copyright © 2018. All Rights Reserved.