com.epam.common.transport
Enum GarbledMessageError
java.lang.Object
java.lang.Enum<GarbledMessageError>
com.epam.common.transport.GarbledMessageError
- All Implemented Interfaces:
- Serializable, Comparable<GarbledMessageError>
public enum GarbledMessageError
- extends Enum<GarbledMessageError>
The garbled message error enum.
Describes errors that occur when parsing messages.
INVALID_TAG_NUMBER
public static final GarbledMessageError INVALID_TAG_NUMBER
FIELD_8_TAG_EXPECTED
public static final GarbledMessageError FIELD_8_TAG_EXPECTED
FIELD_9_TAG_EXPECTED
public static final GarbledMessageError FIELD_9_TAG_EXPECTED
FIELD_10_TAG_EXPECTED
public static final GarbledMessageError FIELD_10_TAG_EXPECTED
FIELD_35_TAG_EXPECTED
public static final GarbledMessageError FIELD_35_TAG_EXPECTED
FIELD_8_TAG_VALUE_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_8_TAG_VALUE_DELIMITER_EXPECTED
FIELD_9_TAG_VALUE_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_9_TAG_VALUE_DELIMITER_EXPECTED
FIELD_10_TAG_VALUE_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_10_TAG_VALUE_DELIMITER_EXPECTED
FIELD_35_TAG_VALUE_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_35_TAG_VALUE_DELIMITER_EXPECTED
FIELD_8_FIELD_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_8_FIELD_DELIMITER_EXPECTED
FIELD_10_FIELD_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_10_FIELD_DELIMITER_EXPECTED
FIELD_35_FIELD_DELIMITER_EXPECTED
public static final GarbledMessageError FIELD_35_FIELD_DELIMITER_EXPECTED
FIELD_9_DECIMAL_VALUE_EXPECTED
public static final GarbledMessageError FIELD_9_DECIMAL_VALUE_EXPECTED
FIELD_10_DECIMAL_VALUE_EXPECTED
public static final GarbledMessageError FIELD_10_DECIMAL_VALUE_EXPECTED
FIELD_10_INVALID_CHECKSUM
public static final GarbledMessageError FIELD_10_INVALID_CHECKSUM
values
public static GarbledMessageError[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (GarbledMessageError c : GarbledMessageError.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static GarbledMessageError valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (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 type has no constant
with the specified name
NullPointerException
- if the argument is null
getMessage
public String getMessage()
getRefTagId
public int getRefTagId()
Copyright © 2000-2014 EPAM Systems. All Rights Reserved.