Package com.myscript.iink
Enum Class RecognizerError
- All Implemented Interfaces:
Serializable
,Comparable<RecognizerError>
,Constable
Represents a Recognizer error code.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe configuration name cannot be found in the bundle (*.conf file).Generic error, refer to the `message` parameter for more information.There was an error when parsing the *.conf files.The configuration refers to a resource file that cannot be found. -
Method Summary
Modifier and TypeMethodDescriptionstatic RecognizerError
Returns the enum constant of this class with the specified name.static RecognizerError[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GENERIC
Generic error, refer to the `message` parameter for more information. -
CONFIGURATION_BUNDLE_NOT_FOUND
-
CONFIGURATION_NAME_NOT_FOUND
The configuration name cannot be found in the bundle (*.conf file). -
RESOURCE_NOT_FOUND
The configuration refers to a resource file that cannot be found. -
INVALID_CONFIGURATION
There was an error when parsing the *.conf files.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-