|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Class EnumConstantNotPresentException
java.lang.EnumConstantNotPresentException
All Implemented Interfaces:
public class EnumConstantNotPresentException
Thrown when an application tries to access an enum constant by name
and the enum type contains no constant with the specified name.
This exception can be thrown by the
API used to read annotations
reflectively.
Since:
1.5
Author:
Josh Bloch
See Also:
Constructor Summary |
Constructs an EnumConstantNotPresentException for the
specified constant.
|
Method Summary |
|
Returns the name of the missing enum constant.
|
|
Returns the type of the missing enum constant.
|
Methods inherited from class java.lang. Throwable |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang. Object |
|
EnumConstantNotPresentException
public EnumConstantNotPresentException |
|
Constructs an
EnumConstantNotPresentException for the
specified constant.
Parameters:
enumType - the type of the missing enum constant
constantName - the name of the missing enum constant
Returns the type of the missing enum constant.
Returns:
the type of the missing enum constant
Returns the name of the missing enum constant.
Returns:
the name of the missing enum constant
|
FlexDoc/Javadoc 2.0 Demo Java Doc |
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch,
FlexDoc/Javadoc may be the only tool able to help you! Find out more at
www.flexdoc.xyz