biz.onixs.fix.fastnew
Enum StaticErrorException.Code

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

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

The valid error codes


Enum Constant Summary
S1
          It is a static error if templates encoded in the concrete XML syntax are in fact not well-formed, do not follow the rules of XML namespaces or are invalid with respect to the schema in Appendix 1.
S2
          It is a static error if an operator is specified for a field of a type to which the operator is not applicable.
S3
          It is a static error if an initial value specified by the value attribute in the concrete syntax cannot be converted to a value of the type of the field.
S4
          It is a static error if no initial value is specified for a constant operator.
S5
          It is a static error if no initial value is specified for a default operator on a mandatory field.
 
Method Summary
 String toString()
           
static StaticErrorException.Code valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StaticErrorException.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

S1

public static final StaticErrorException.Code S1
It is a static error if templates encoded in the concrete XML syntax are in fact not well-formed, do not follow the rules of XML namespaces or are invalid with respect to the schema in Appendix 1.


S2

public static final StaticErrorException.Code S2
It is a static error if an operator is specified for a field of a type to which the operator is not applicable.


S3

public static final StaticErrorException.Code S3
It is a static error if an initial value specified by the value attribute in the concrete syntax cannot be converted to a value of the type of the field.


S4

public static final StaticErrorException.Code S4
It is a static error if no initial value is specified for a constant operator.


S5

public static final StaticErrorException.Code S5
It is a static error if no initial value is specified for a default operator on a mandatory field.

Method Detail

values

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


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