Enum Class MathDiagnostic

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

public enum MathDiagnostic extends Enum<MathDiagnostic>
Error code returned by MathSolverController::getDiagnostic.
Since:
4.1
  • Enum Constant Details

    • ALLOWED

      public static final MathDiagnostic ALLOWED
      The task is allowed.
    • ALLOWED_BUT_PREVIOUSLY_DISCARDED

      public static final MathDiagnostic ALLOWED_BUT_PREVIOUSLY_DISCARDED
      The task is allowed but the user previously discarded the result.
    • UNSUPPORTED

      public static final MathDiagnostic UNSUPPORTED
      The task is unsupported (internal error).
    • NON_EVALUABLE

      public static final MathDiagnostic NON_EVALUABLE
      The expression form is not evaluable.
    • INCOMPLETE_EXPRESSION

      public static final MathDiagnostic INCOMPLETE_EXPRESSION
      The expression is incomplete.
    • NO_VARIABLE

      public static final MathDiagnostic NO_VARIABLE
      There is no undefined variable to evaluate.
    • TOO_MANY_VARIABLES

      public static final MathDiagnostic TOO_MANY_VARIABLES
      There are too many undefined variables.
    • NOT_APPLICABLE

      public static final MathDiagnostic NOT_APPLICABLE
      Task does not apply in respect to the current configuration.
    • DIVISION_BY_ZERO

      public static final MathDiagnostic DIVISION_BY_ZERO
      Computation leads to a division by zero.
    • NUMBER_OVERFLOW

      public static final MathDiagnostic NUMBER_OVERFLOW
      Computation leads to a number overflow.
    • NUMBER_UNDERFLOW

      public static final MathDiagnostic NUMBER_UNDERFLOW
      Computation leads to a number underflow.
    • INVALID_OPERATION

      public static final MathDiagnostic INVALID_OPERATION
      Computation leads to an invalid operation.
  • Method Details

    • values

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