Enum ExceptionConst.EXCS
- All Implemented Interfaces:
Serializable, Comparable<ExceptionConst.EXCS>
- Enclosing class:
ExceptionConst
Enum corresponding to the various Exception Class arrays, used by
ExceptionConst.createExceptions(EXCS, Class...).- Since:
- 6.0 (intended to replace the InstructionConstant interface)
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionException array exception.Exception class and interface resolution.Exception field and method resolution.Exception interface method resolution.Exception string resolution. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptionConst.EXCSReturns the enum constant of this type with the specified name.static ExceptionConst.EXCS[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
EXCS_CLASS_AND_INTERFACE_RESOLUTION
Exception class and interface resolution. -
EXCS_FIELD_AND_METHOD_RESOLUTION
Exception field and method resolution. -
EXCS_INTERFACE_METHOD_RESOLUTION
Exception interface method resolution. -
EXCS_STRING_RESOLUTION
Exception string resolution. -
EXCS_ARRAY_EXCEPTION
Exception array exception.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-