public class TypeValueException extends Exception
| Constructor and Description |
|---|
TypeValueException(Type type,
String value)
Creates a new
TypeValueException. |
TypeValueException(Type type,
String value,
String detail)
Creates a new
TypeValueException. |
| Modifier and Type | Method and Description |
|---|---|
String |
getDetail()
Retrieves the additional detail information passed to the constructor.
|
Type |
getType()
Retrieves the type.
|
String |
getValue()
Retrieves the value that was considered invalid.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TypeValueException(Type type, String value) throws IllegalArgumentException
TypeValueException.type - the type, not null.value - the value, not null.IllegalArgumentException - if type == null || value == null.public TypeValueException(Type type, String value, String detail) throws IllegalArgumentException
TypeValueException.type - the type, not null.value - the value, not null.detail - additional detail information, can be null.IllegalArgumentException - if type == null || value == null.public final Type getType()
null.public final String getValue()
null.public final String getDetail()
null.See http://www.xins.org/.