Package Summary  Overview Summary

class:EnumConstantNotPresentException [NONE]

constructor:<init>(java.lang.Class,java.lang.String) [NONE]

  • EnumConstantNotPresentException

    public EnumConstantNotPresentException​(Class<? extends Enum> enumType,
                                           String constantName)
    Constructs an EnumConstantNotPresentException for the specified constant.
    Parameters:
    enumType - the type of the missing enum constant
    constantName - the name of the missing enum constant

method:enumType() [NONE]

  • enumType

    public Class<? extends Enum> enumType()
    Returns the type of the missing enum constant.
    Returns:
    the type of the missing enum constant

method:constantName() [NONE]

  • constantName

    public String constantName()
    Returns the name of the missing enum constant.
    Returns:
    the name of the missing enum constant

© 2018 Oracle Corporation and/or its affiliates