Class DuplicateEnumIdException

All Implemented Interfaces:

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.

R Evan Easton
See Also:
Enum, Serialized Form

Field Summary
static String REVISION
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

Field Detail


public static final String REVISION
See Also:
Constant Field Values