|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.xins.common.types.TypeValueException
Exception thrown to indicate a value is invalid for a certain type.
| Constructor Summary | |
TypeValueException(Type type,
String value)
Creates a new TypeValueException. |
|
TypeValueException(Type type,
String value,
String detail)
Creates a new TypeValueException. |
|
| Method Summary | |
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. |
| 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 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.| Method Detail |
public final Type getType()
null.public final String getValue()
null.public final String getDetail()
null.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||