Enum Class AutomationDiagnostics.ErrorCategory
java.lang.Object
java.lang.Enum<AutomationDiagnostics.ErrorCategory>
neqsim.process.automation.AutomationDiagnostics.ErrorCategory
- All Implemented Interfaces:
Serializable, Comparable<AutomationDiagnostics.ErrorCategory>, Constable
- Enclosing class:
AutomationDiagnostics
public static enum AutomationDiagnostics.ErrorCategory
extends Enum<AutomationDiagnostics.ErrorCategory>
Classification of automation errors for structured remediation.
- Version:
- 1.0
- Author:
- Even Solbraa
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSimulation did not converge after value change.Address format is invalid.Stream port not found on the unit.Property/variable address not found on the unit.Variable is read-only but write was attempted.Unit name not found in the process.Unit of measurement not recognized.Value is outside physically reasonable bounds. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static AutomationDiagnostics.ErrorCategory[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNIT_NOT_FOUND
Unit name not found in the process. -
PROPERTY_NOT_FOUND
Property/variable address not found on the unit. -
PORT_NOT_FOUND
Stream port not found on the unit. -
READ_ONLY_VARIABLE
Variable is read-only but write was attempted. -
VALUE_OUT_OF_BOUNDS
Value is outside physically reasonable bounds. -
UNKNOWN_UNIT
Unit of measurement not recognized. -
INVALID_ADDRESS_FORMAT
Address format is invalid. -
CONVERGENCE_FAILURE
Simulation did not converge after value change.
-
-
Constructor Details
-
ErrorCategory
private ErrorCategory()
-
-
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
-