|
|||||||||||
| 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
com.tensegrity.generic.util.DynamicException
com.tensegrity.generic.util.InvalidArgumentException
Thrown whenever an invalid argument is passed to a method, including constructors.
This class extends DynamicException
and is therefore a subtype of java.lang.RuntimeException and
unchecked.
| Field Summary | |
static java.lang.String |
INVALID_TYPE
convenience constants for use with the constructor |
static java.lang.String |
INVALID_VALUE
convenience constants for use with the constructor |
static java.lang.String |
INVALID_VALUES
convenience constants for use with the constructor |
static java.lang.String |
NULL_ARGUMENT
convenience constants for use with the constructor |
static java.lang.String |
NULL_ARGUMENTS
convenience constants for use with the constructor |
| Constructor Summary | |
InvalidArgumentException()
Constructor that uses a default "argument may not be null" message. |
|
InvalidArgumentException(java.lang.String description)
Constructs an exception indicating that a invalid argument has been passed. |
|
| 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 |
public static final java.lang.String NULL_ARGUMENT
public static final java.lang.String NULL_ARGUMENTS
public static final java.lang.String INVALID_TYPE
public static final java.lang.String INVALID_VALUE
public static final java.lang.String INVALID_VALUES
| Constructor Detail |
public InvalidArgumentException()
public InvalidArgumentException(java.lang.String description)
description - a detailed description of the cause for this
exception.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||