biz.onixs.fix.fast
Enum ReportableErrorCode

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

public enum ReportableErrorCode
extends Enum<ReportableErrorCode>

FAST Reportable Error Codes.


Enum Constant Summary
R1
          It is a reportable error if a decimal cannot be represented by an exponent in the range [-63..63] or if the mantissa does not fit in an int64.
R2
          It is a reportable error if the combined value after applying a tail or delta operator to a Unicode string is not a valid UTF-8 sequence.
R3
          It is a reportable error if a Unicode string that is being converted to an ASCII string contains characters that are outside the ASCII character set.
R4
          It is a reportable error if a value of an integer type cannot be represented in the target integer type in a conversion.
R5
          It is a reportable error if a decimal being converted to an integer has a negative exponent or if the resulting integer does not fit the target integer type.
R6
          It is a reportable error if an integer appears in an overlong encoding.
R7
          It is a reportable error if a presence map is overlong.
R8
          It is a reportable error if a presence map contains more bits than required.
R9
          It is a reportable error if a string appears in an overlong encoding.
 
Method Summary
 String getCode()
           
 String getDescription()
           
 String toString()
           
static ReportableErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportableErrorCode[] 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

R1

public static final ReportableErrorCode R1
It is a reportable error if a decimal cannot be represented by an exponent in the range [-63..63] or if the mantissa does not fit in an int64.


R2

public static final ReportableErrorCode R2
It is a reportable error if the combined value after applying a tail or delta operator to a Unicode string is not a valid UTF-8 sequence.


R3

public static final ReportableErrorCode R3
It is a reportable error if a Unicode string that is being converted to an ASCII string contains characters that are outside the ASCII character set.


R4

public static final ReportableErrorCode R4
It is a reportable error if a value of an integer type cannot be represented in the target integer type in a conversion.


R5

public static final ReportableErrorCode R5
It is a reportable error if a decimal being converted to an integer has a negative exponent or if the resulting integer does not fit the target integer type.


R6

public static final ReportableErrorCode R6
It is a reportable error if an integer appears in an overlong encoding.


R7

public static final ReportableErrorCode R7
It is a reportable error if a presence map is overlong.


R8

public static final ReportableErrorCode R8
It is a reportable error if a presence map contains more bits than required.


R9

public static final ReportableErrorCode R9
It is a reportable error if a string appears in an overlong encoding.

Method Detail

values

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

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

valueOf

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


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