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

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

REVISION

public static final String REVISION
See Also:
Constant Field Values