com.epam.common.transport
Enum GarbledMessageError

java.lang.Object
  extended by java.lang.Enum<GarbledMessageError>
      extended by 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.


Enum Constant Summary
FIELD_10_DECIMAL_VALUE_EXPECTED
           
FIELD_10_FIELD_DELIMITER_EXPECTED
           
FIELD_10_INVALID_CHECKSUM
           
FIELD_10_TAG_EXPECTED
           
FIELD_10_TAG_VALUE_DELIMITER_EXPECTED
           
FIELD_35_FIELD_DELIMITER_EXPECTED
           
FIELD_35_TAG_EXPECTED
           
FIELD_35_TAG_VALUE_DELIMITER_EXPECTED
           
FIELD_8_FIELD_DELIMITER_EXPECTED
           
FIELD_8_TAG_EXPECTED
           
FIELD_8_TAG_VALUE_DELIMITER_EXPECTED
           
FIELD_9_DECIMAL_VALUE_EXPECTED
           
FIELD_9_TAG_EXPECTED
           
FIELD_9_TAG_VALUE_DELIMITER_EXPECTED
           
INVALID_TAG_NUMBER
           
 
Method Summary
 String getMessage()
           
 int getRefTagId()
           
static GarbledMessageError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GarbledMessageError[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.