Package com.myscript.iink
Enum Class HandwritingGeneratorError
- All Implemented Interfaces:
Serializable
,Comparable<HandwritingGeneratorError>
,Constable
Error code used in IHandwritingGeneratorListener::onError
- Since:
- 4.1
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe generation has failed.Generic error, refer to themessage
parameter for more information.The profile cannot be selected.The resource file cannot be loaded.The generator setup has failed. -
Method Summary
Modifier and TypeMethodDescriptionstatic HandwritingGeneratorError
Returns the enum constant of this class with the specified name.static HandwritingGeneratorError[]
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 themessage
parameter for more information. -
RESOURCE_NOT_LOADED
The resource file cannot be loaded. -
SETUP_FAILED
The generator setup has failed. -
PROFILE_NOT_SELECTED
The profile cannot be selected. -
GENERATION_FAILED
The generation has failed.
-
-
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
-