biz.onixs.fix.fastnew
Enum DynamicErrorException.Code

java.lang.Object
  extended by java.lang.Enum<DynamicErrorException.Code>
      extended by biz.onixs.fix.fastnew.DynamicErrorException.Code
All Implemented Interfaces:
Serializable, Comparable<DynamicErrorException.Code>
Enclosing class:
DynamicErrorException

public static enum DynamicErrorException.Code
extends Enum<DynamicErrorException.Code>

The valid 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 toString()
           
static DynamicErrorException.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DynamicErrorException.Code[] 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code 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 DynamicErrorException.Code D10
It is a dynamic error to convert byte vectors to and from other types than strings.


D11

public static final DynamicErrorException.Code 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 DynamicErrorException.Code D12
It is a dynamic error if a block length preamble is zero.

Method Detail

values

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

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

valueOf

public static DynamicErrorException.Code 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

toString

public String toString()
Overrides:
toString in class Enum<DynamicErrorException.Code>


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