biz.onixs.fix.fast
Enum DynamicErrorCode

java.lang.Object
  extended by java.lang.Enum<DynamicErrorCode>
      extended by biz.onixs.fix.fast.DynamicErrorCode
All Implemented Interfaces:
Serializable, Comparable<DynamicErrorCode>

public enum DynamicErrorCode
extends Enum<DynamicErrorCode>

FAST Dynamic Error Codes.


Enum Constant Summary
D1
          It is a dynamic error if type of a field in a template cannot be converted to or from the type of the corresponding application field.
D10
          It is a dynamic error to convert byte vectors to and from other types than strings.
D11
          It is a dynamic error if the syntax of a string does not follow the rules for the type converted to.
D12
          It is a dynamic error if a block length preamble is zero.
D2
          It is a dynamic error if an integer in the stream does not fall within the bounds of the specific integer type specified on the corresponding field.
D3
          It is a dynamic error if a decimal value cannot be encoded due to limitations introduced by using individual operators on exponent and mantissa.
D4
          It is a dynamic error if the type of the previous value is not the same as the type of the field of the current operator.
D5
          It is a dynamic error if a mandatory field is not present in the stream, has an undefined previous value and there is no initial value in the instruction context.
D6
          It is a dynamic error if a mandatory field is not present in the stream and has an empty previous value.
D7
          It is a dynamic error if the subtraction length exceeds the length of the base value or if it does not fall in the value rang of an int32.
D8
          It is a dynamic error if the name specified on a static template reference does not point to a template known by the encoder or decoder.
D9
          It is a dynamic error if a decoder cannot find a template associated with a template identifier appearing in the stream.
 
Method Summary
 String getCode()
           
 String getDescription()
           
 String toString()
           
static DynamicErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DynamicErrorCode[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

D1

public static final DynamicErrorCode D1
It is a dynamic error if type of a field in a template cannot be converted to or from the type of the corresponding application field.


D2

public static final DynamicErrorCode D2
It is a dynamic error if an integer in the stream does not fall within the bounds of the specific integer type specified on the corresponding field.


D3

public static final DynamicErrorCode D3
It is a dynamic error if a decimal value cannot be encoded due to limitations introduced by using individual operators on exponent and mantissa.


D4

public static final DynamicErrorCode D4
It is a dynamic error if the type of the previous value is not the same as the type of the field of the current operator.


D5

public static final DynamicErrorCode D5
It is a dynamic error if a mandatory field is not present in the stream, has an undefined previous value and there is no initial value in the instruction context.


D6

public static final DynamicErrorCode D6
It is a dynamic error if a mandatory field is not present in the stream and has an empty previous value.


D7

public static final DynamicErrorCode D7
It is a dynamic error if the subtraction length exceeds the length of the base value or if it does not fall in the value rang of an int32.


D8

public static final DynamicErrorCode D8
It is a dynamic error if the name specified on a static template reference does not point to a template known by the encoder or decoder.


D9

public static final DynamicErrorCode D9
It is a dynamic error if a decoder cannot find a template associated with a template identifier appearing in the stream.


D10

public static final DynamicErrorCode D10
It is a dynamic error to convert byte vectors to and from other types than strings.


D11

public static final DynamicErrorCode D11
It is a dynamic error if the syntax of a string does not follow the rules for the type converted to.


D12

public static final DynamicErrorCode D12
It is a dynamic error if a block length preamble is zero.

Method Detail

values

public static DynamicErrorCode[] 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 (DynamicErrorCode c : DynamicErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DynamicErrorCode 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

getCode

public String getCode()

getDescription

public String getDescription()

toString

public String toString()
Overrides:
toString in class Enum<DynamicErrorCode>


Copyright © 2005-2012 Onix Solutions. All Rights Reserved.