org.gjt.rec.util
Class DuplicateEnumIdException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.gjt.rec.util.DuplicateEnumIdException
- All Implemented Interfaces:
- Serializable
- public class DuplicateEnumIdException
- extends RuntimeException
Thrown to indicate that another Enum instance has already been constructed
for the specified class and id. This is to prevent accidental declaration
of two enums with the same value.
- Author:
- R Evan Easton
- See Also:
Enum
,
Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
REVISION
public static final String REVISION
- See Also:
- Constant Field Values