public class DetailedIllegalArgumentException
extends java.lang.IllegalArgumentException
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
argumentName_ |
private java.lang.Object |
argumentValue_ |
private static long |
serialVersionUID |
| Constructor and Description |
|---|
DetailedIllegalArgumentException(java.lang.String argumentName,
int argumentValue)
Create an instance
|
DetailedIllegalArgumentException(java.lang.String argumentName,
int argumentValue,
java.lang.String message)
Create an instance
|
DetailedIllegalArgumentException(java.lang.String argumentName,
java.lang.Object argumentValue)
Create an instance
|
DetailedIllegalArgumentException(java.lang.String argumentName,
java.lang.Object argumentValue,
java.lang.String message)
Create an instance
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getArgumentName()
Return the name of the argument that was illegal
|
java.lang.Object |
getArgumentValue()
Return the value of the argument
|
private static final long serialVersionUID
private final java.lang.String argumentName_
private final java.lang.Object argumentValue_
public DetailedIllegalArgumentException(java.lang.String argumentName,
java.lang.Object argumentValue,
java.lang.String message)
argumentName - The name of the argument that was illegalargumentValue - The illegal valuemessage - The message to use in the exceptionpublic DetailedIllegalArgumentException(java.lang.String argumentName,
java.lang.Object argumentValue)
argumentName - The name of the argument that was illegalargumentValue - The illegal valuepublic DetailedIllegalArgumentException(java.lang.String argumentName,
int argumentValue,
java.lang.String message)
argumentName - The name of the argument that was illegalargumentValue - The illegal valuemessage - A messagepublic DetailedIllegalArgumentException(java.lang.String argumentName,
int argumentValue)
argumentName - The name of the argument that was illegalargumentValue - The illegal value