public class DetailedIllegalArgumentException extends IllegalArgumentException
Constructor and Description |
---|
DetailedIllegalArgumentException(String argumentName,
int argumentValue)
Create an instance
|
DetailedIllegalArgumentException(String argumentName,
int argumentValue,
String message)
Create an instance
|
DetailedIllegalArgumentException(String argumentName,
Object argumentValue)
Create an instance
|
DetailedIllegalArgumentException(String argumentName,
Object argumentValue,
String message)
Create an instance
|
Modifier and Type | Method and Description |
---|---|
String |
getArgumentName()
Return the name of the argument that was illegal
|
Object |
getArgumentValue()
Return the value of the argument
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DetailedIllegalArgumentException(String argumentName, Object argumentValue, String message)
argumentName
- The name of the argument that was illegalargumentValue
- The illegal valuemessage
- The message to use in the exceptionpublic DetailedIllegalArgumentException(String argumentName, Object argumentValue)
argumentName
- The name of the argument that was illegalargumentValue
- The illegal valuepublic DetailedIllegalArgumentException(String argumentName, int argumentValue, String message)
argumentName
- The name of the argument that was illegalargumentValue
- The illegal valuemessage
- A messagepublic DetailedIllegalArgumentException(String argumentName, int argumentValue)
argumentName
- The name of the argument that was illegalargumentValue
- The illegal valueCopyright © 1998–2014 Gargoyle Software Inc.. All rights reserved.