|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.lang.RuntimeException java.lang.IllegalArgumentException com.gargoylesoftware.base.util.DetailedIllegalArgumentException
A more detailed version of IllegalArgumentException that contains information about what argument was not legal.
Constructor Summary | |
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 |
Method Summary | |
String |
getArgumentName()
Return the name of the argument that was illegal |
Object |
getArgumentValue()
Return the value of the argument |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
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 valueMethod Detail |
public String getArgumentName()
public Object getArgumentValue()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |