Overview | Methods | This Package | All Packages
Creates a WFCInvalidEnumException object.
Syntax
public WFCInvalidEnumException()
public WFCInvalidEnumException( String message )
public WFCInvalidEnumException( String argumentName, int invalidValue, Class enumClass )
Parameters
message
The message to be displayed when the exception is thrown.
argumentName
The name of the argument that caused the exception.
invalidValue
The value of the argument that caused the exception.
enumClass
The class that extends Enum and contains the valid values.
Remarks
The third version of the constructor will have a localized message that says argumentName is invalid because its value is invalidValue and the value should be from enumClass.