de.fraunhofer.ipsi.xquery.errors
Enum DynamicError

java.lang.Object
  extended by java.lang.Enum<DynamicError>
      extended by de.fraunhofer.ipsi.xquery.errors.DynamicError
All Implemented Interfaces:
ErrorDescription, java.io.Serializable, java.lang.Comparable<DynamicError>

public enum DynamicError
extends java.lang.Enum<DynamicError>
implements ErrorDescription


Enum Constant Summary
CAST_FAILED
           
INVALID_ATTRIBUTE_NAME
           
INVALID_PROCESSING_INSTRUCTION_NAME
           
INVALID_TREAT_TYPE
           
NON_DISTINCT_ATTRIBUTE_NAMES
           
VALIDATION_FAILED
           
 
Method Summary
 java.lang.String getCode()
          Method getCode
 java.lang.String getDetailMessage()
          Method getDetailMessage
 java.lang.String getShortMessage()
          Method getMessage
 java.lang.String getSpecificationLabel()
          Method getSpecificationLabel
 java.lang.String getSpecificationURI()
          Method getSpecificationURI
static DynamicError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DynamicError[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CAST_FAILED

public static final DynamicError CAST_FAILED

NON_DISTINCT_ATTRIBUTE_NAMES

public static final DynamicError NON_DISTINCT_ATTRIBUTE_NAMES

VALIDATION_FAILED

public static final DynamicError VALIDATION_FAILED

INVALID_ATTRIBUTE_NAME

public static final DynamicError INVALID_ATTRIBUTE_NAME

INVALID_TREAT_TYPE

public static final DynamicError INVALID_TREAT_TYPE

INVALID_PROCESSING_INSTRUCTION_NAME

public static final DynamicError INVALID_PROCESSING_INSTRUCTION_NAME
Method Detail

values

public static final DynamicError[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(DynamicError c : DynamicError.values())
        System.out.println(c);

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

valueOf

public static DynamicError valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name

getCode

public java.lang.String getCode()
Method getCode

Specified by:
getCode in interface ErrorDescription
Returns:
a String

getShortMessage

public java.lang.String getShortMessage()
Method getMessage

Specified by:
getShortMessage in interface ErrorDescription
Returns:
a String

getDetailMessage

public java.lang.String getDetailMessage()
Method getDetailMessage

Specified by:
getDetailMessage in interface ErrorDescription
Returns:
a String

getSpecificationLabel

public java.lang.String getSpecificationLabel()
Method getSpecificationLabel

Specified by:
getSpecificationLabel in interface ErrorDescription
Returns:
a String

getSpecificationURI

public java.lang.String getSpecificationURI()
Method getSpecificationURI

Specified by:
getSpecificationURI in interface ErrorDescription
Returns:
a String