Enum Class RecognizerError

java.lang.Object
java.lang.Enum<RecognizerError>
com.myscript.iink.RecognizerError
All Implemented Interfaces:
Serializable, Comparable<RecognizerError>, Constable

public enum RecognizerError extends Enum<RecognizerError>
Represents a Recognizer error code.
Since:
2.1
See Also:
  • Enum Constant Details

    • GENERIC

      public static final RecognizerError GENERIC
      Generic error, refer to the `message` parameter for more information.
    • CONFIGURATION_BUNDLE_NOT_FOUND

      public static final RecognizerError CONFIGURATION_BUNDLE_NOT_FOUND
    • CONFIGURATION_NAME_NOT_FOUND

      public static final RecognizerError CONFIGURATION_NAME_NOT_FOUND
      The configuration name cannot be found in the bundle (*.conf file).
    • RESOURCE_NOT_FOUND

      public static final RecognizerError RESOURCE_NOT_FOUND
      The configuration refers to a resource file that cannot be found.
    • INVALID_CONFIGURATION

      public static final RecognizerError INVALID_CONFIGURATION
      There was an error when parsing the *.conf files.
  • Method Details

    • values

      public static RecognizerError[] 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

      public static RecognizerError valueOf(String name)
      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 name
      NullPointerException - if the argument is null