|
||||||||||
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.sun.n1.util.enum.NoSuchEnumException
com.sun.n1.util.enumx.NoSuchEnumExceptionX
public class NoSuchEnumExceptionX
Exception class indicating that an enum lookup failed.
The mesage code associated with exception of this type
is NoSuchEnumException.MSG_NO_SUCH_ENUM
.
This exception class must be caught where possible in place of the
deprecated class NoSuchEnumException
in future.
Field Summary |
---|
Fields inherited from class com.sun.n1.util.enum.NoSuchEnumException |
---|
MSG_NO_SUCH_ENUM |
Constructor Summary | |
---|---|
NoSuchEnumExceptionX(int value)
Copied from com.sun.n1.util.enum.NoSuchEnumException Creates an new exception indicating that an enum lookup by int value failed. |
|
NoSuchEnumExceptionX(java.lang.String value)
Copied from com.sun.n1.util.enum.NoSuchEnumException Creates an new exception indicating that an enum lookup by string value failed. |
Method Summary |
---|
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 NoSuchEnumExceptionX(java.lang.String value)
value
- the value for which no enum could be found.public NoSuchEnumExceptionX(int value)
value
- the value for which no enum could be found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |