biz.onixs.fix.fastnew
Enum ReportableErrorException.Code

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

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

The valid error codes


Enum Constant Summary
R1
          It is a reportable error if a decimal cannot be represented by an exponent in the range [-63 ...
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 toString()
           
static ReportableErrorException.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReportableErrorException.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

R1

public static final ReportableErrorException.Code 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 ReportableErrorException.Code 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 ReportableErrorException.Code 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 ReportableErrorException.Code 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 ReportableErrorException.Code 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 ReportableErrorException.Code R6
It is a reportable error if an integer appears in an overlong encoding.


R7

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


R8

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


R9

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

Method Detail

values

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


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