Enum Class MessageErrorIndicator.Severity
- All Implemented Interfaces:
Serializable, Comparable<MessageErrorIndicator.Severity>, Constable
- Enclosing class:
MessageErrorIndicator
Error severity carried in positions 1–2 of each error set.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionof(int value) Resolves aMessageErrorIndicator.Severityfrom its numeric value.intvalue()Returns the 2-digit numeric value as carried on the wire.Returns the enum constant of this class with the specified name.static MessageErrorIndicator.Severity[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REJECTED
The message was rejected due to this error. -
WARNING
The message was accepted but contains a non-critical error.
-
-
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
-
value
Returns the 2-digit numeric value as carried on the wire.- Returns:
- numeric severity value
-
of
Resolves aMessageErrorIndicator.Severityfrom its numeric value.- Parameters:
value- 0 or 1- Returns:
- matching constant, defaulting to
REJECTEDfor unknown values
-