biz.onixs.fix.fastnew
Enum CoderException.Code

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

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

The valid error codes


Enum Constant Summary
C0
          Generic coder error
C1
          A mandatory field is missing from the message to be encoded
C10
          Message type has no template
C11
          The length of the field to be encoded as a tail is less than the length of the base value
C12
          Invalid/Unknown field operator for length part of sequence field
C2
          A mandatory sequence is missing from the stream
C3
          A mandatory field was found to be null in the stream
C4
          Initial values for fields that share keys are different
C5
          Invalid/Unknown field operator for exponent part of decimal field
C6
          Invalid/Unknown field operator for mantissa part of decimal field
C7
          Message has no template identifier for encoding
C8
          Template identifier found in message does not match any defined templates
C9
          Message has no message type for encoding
 
Method Summary
 String toString()
           
static CoderException.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CoderException.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

C0

public static final CoderException.Code C0
Generic coder error


C1

public static final CoderException.Code C1
A mandatory field is missing from the message to be encoded


C2

public static final CoderException.Code C2
A mandatory sequence is missing from the stream


C3

public static final CoderException.Code C3
A mandatory field was found to be null in the stream


C4

public static final CoderException.Code C4
Initial values for fields that share keys are different


C5

public static final CoderException.Code C5
Invalid/Unknown field operator for exponent part of decimal field


C6

public static final CoderException.Code C6
Invalid/Unknown field operator for mantissa part of decimal field


C7

public static final CoderException.Code C7
Message has no template identifier for encoding


C8

public static final CoderException.Code C8
Template identifier found in message does not match any defined templates


C9

public static final CoderException.Code C9
Message has no message type for encoding


C10

public static final CoderException.Code C10
Message type has no template


C11

public static final CoderException.Code C11
The length of the field to be encoded as a tail is less than the length of the base value


C12

public static final CoderException.Code C12
Invalid/Unknown field operator for length part of sequence field

Method Detail

values

public static CoderException.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 (CoderException.Code c : CoderException.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 CoderException.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<CoderException.Code>


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