com.sun.n1.util.enumx
Class NoSuchEnumExceptionX

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by com.sun.n1.util.enum.NoSuchEnumException
                      extended by com.sun.n1.util.enumx.NoSuchEnumExceptionX
All Implemented Interfaces:
java.io.Serializable

public class NoSuchEnumExceptionX
extends NoSuchEnumException

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.

See Also:
Serialized Form

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

NoSuchEnumExceptionX

public 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.

Parameters:
value - the value for which no enum could be found.

NoSuchEnumExceptionX

public NoSuchEnumExceptionX(int value)
Copied from com.sun.n1.util.enum.NoSuchEnumException Creates an new exception indicating that an enum lookup by int value failed.

Parameters:
value - the value for which no enum could be found.