|
|||||||||||
| 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
org.apache.geronimo.common.InvalidArgumentException
Thrown to inidcate an invalid value used for a method argument.
| Constructor Summary | |
InvalidArgumentException(String name,
Object value)
Construct a InvalidArgumentException. |
|
InvalidArgumentException(String name,
Object value,
Object index,
String reason)
Construct a InvalidArgumentException. |
|
InvalidArgumentException(String name,
Object value,
String reason)
Construct a InvalidArgumentException. |
|
| Method Summary | |
Object |
getIndex()
Returns the index associated with this argument. |
String |
getName()
Returns the name of the argument. |
Object |
getValue()
Returns 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 InvalidArgumentException(String name,
Object value)
InvalidArgumentException.
name - Argument name.
public InvalidArgumentException(String name,
Object value,
String reason)
InvalidArgumentException.
name - Argument name.
public InvalidArgumentException(String name,
Object value,
Object index,
String reason)
InvalidArgumentException.
name - The name of the argumentvalue - The value of the argument, or nullindex - The index of the argument, or null if none.reason - The reason (short description) of why it is invalid,
or null for the default| Method Detail |
public Object getIndex()
null if there is no such index.
public String getName()
public Object getValue()
null if not specified.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||