|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.gargoylesoftware.base.util.DetailedIllegalArgumentException
public class DetailedIllegalArgumentException
A more detailed version of IllegalArgumentException that contains information about what argument was not legal.
| Field Summary | |
|---|---|
private java.lang.String |
argumentName_
|
private java.lang.Object |
argumentValue_
|
private static long |
serialVersionUID
|
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | |
|---|---|
java.lang.String |
getArgumentName()
Return the name of the argument that was illegal |
java.lang.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 |
| Field Detail |
|---|
private static final long serialVersionUID
private final java.lang.String argumentName_
private final java.lang.Object argumentValue_
| Constructor Detail |
|---|
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 exception
public DetailedIllegalArgumentException(java.lang.String argumentName,
java.lang.Object argumentValue)
argumentName - The name of the argument that was illegalargumentValue - The illegal value
public DetailedIllegalArgumentException(java.lang.String argumentName,
int argumentValue,
java.lang.String message)
argumentName - The name of the argument that was illegalargumentValue - The illegal valuemessage - A message
public DetailedIllegalArgumentException(java.lang.String argumentName,
int argumentValue)
argumentName - The name of the argument that was illegalargumentValue - The illegal value| Method Detail |
|---|
public java.lang.String getArgumentName()
public java.lang.Object getArgumentValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||