public class InvalidParameter extends RuntimeException
Constructor and Description |
---|
InvalidParameter(String text)
Creates a new exception with a given text.
|
InvalidParameter(Throwable e)
Creates a new exception with a given parent exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidParameter(String text)
text
- Text to go with the new exception.public InvalidParameter(Throwable e)
e
- The parent exception.