Package com.myscript.iink
Enum Class MathDiagnostic
- All Implemented Interfaces:
Serializable
,Comparable<MathDiagnostic>
,Constable
Error code returned by MathSolverController::getDiagnostic.
- 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 task is allowed.The task is allowed but the user previously discarded the result.Computation leads to a division by zero.The expression is incomplete.Computation leads to an invalid operation.There is no undefined variable to evaluate.The expression form is not evaluable.Task does not apply in respect to the current configuration.Computation leads to a number overflow.Computation leads to a number underflow.There are too many undefined variables.The task is unsupported (internal error). -
Method Summary
Modifier and TypeMethodDescriptionstatic MathDiagnostic
Returns the enum constant of this class with the specified name.static MathDiagnostic[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOWED
The task is allowed. -
ALLOWED_BUT_PREVIOUSLY_DISCARDED
The task is allowed but the user previously discarded the result. -
UNSUPPORTED
The task is unsupported (internal error). -
NON_EVALUABLE
The expression form is not evaluable. -
INCOMPLETE_EXPRESSION
The expression is incomplete. -
NO_VARIABLE
There is no undefined variable to evaluate. -
TOO_MANY_VARIABLES
There are too many undefined variables. -
NOT_APPLICABLE
Task does not apply in respect to the current configuration. -
DIVISION_BY_ZERO
Computation leads to a division by zero. -
NUMBER_OVERFLOW
Computation leads to a number overflow. -
NUMBER_UNDERFLOW
Computation leads to a number underflow. -
INVALID_OPERATION
Computation leads to an invalid operation.
-
-
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
-