de.fraunhofer.ipsi.xquery.errors
Enum FunctionError

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

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


Enum Constant Summary
BASEURI_NOT_DEFINED
           
CODEPOINT_ERROR
           
DATE_TIME_OVERFLOW
           
DIVISION_BY_ZERO
           
DURATION_OVERFLOW
           
INVALID_ARGUMENT_AGGREGATE_FUNC
           
INVALID_ARGUMENT_FN_COLLECTION
           
INVALID_ARGUMENT_FN_DOC
           
INVALID_ARGUMENT_TYPE
           
INVALID_CAST_VALUE
           
INVALID_TIMEZONE_VALUE
           
MISSING_TYPED_VALUE
           
MORE_THAN_ONE_ITEM
           
NAMESPACE_NOT_FOUND
           
NO_CONTEXT_DOC
           
NO_ITEMS
           
NO_PREFIX_DEFINED
           
NUMERIC_OPERATION_ERROR
           
RESOLVE_URI_ERROR
           
RESOURCES_ERROR
           
TWO_TZ_SPECIFIED
           
UNDEFINED_CONTEXT_ITEM
           
UNIDENTIFIED_ERROR
           
UNSUPPORTTED_COLLATION
           
UNSUPPORTTED_COLLATION_UNITS
           
UNSUPPORTTED_NORMALIZATION
           
ZERO_OR_MORE_THAN_ONE
           
 
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 FunctionError valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FunctionError[] 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

UNIDENTIFIED_ERROR

public static final FunctionError UNIDENTIFIED_ERROR

DIVISION_BY_ZERO

public static final FunctionError DIVISION_BY_ZERO

NUMERIC_OPERATION_ERROR

public static final FunctionError NUMERIC_OPERATION_ERROR

CODEPOINT_ERROR

public static final FunctionError CODEPOINT_ERROR

UNSUPPORTTED_COLLATION

public static final FunctionError UNSUPPORTTED_COLLATION

UNSUPPORTTED_NORMALIZATION

public static final FunctionError UNSUPPORTTED_NORMALIZATION

UNSUPPORTTED_COLLATION_UNITS

public static final FunctionError UNSUPPORTTED_COLLATION_UNITS

NO_CONTEXT_DOC

public static final FunctionError NO_CONTEXT_DOC

RESOURCES_ERROR

public static final FunctionError RESOURCES_ERROR

INVALID_ARGUMENT_FN_COLLECTION

public static final FunctionError INVALID_ARGUMENT_FN_COLLECTION

INVALID_ARGUMENT_FN_DOC

public static final FunctionError INVALID_ARGUMENT_FN_DOC

DATE_TIME_OVERFLOW

public static final FunctionError DATE_TIME_OVERFLOW

DURATION_OVERFLOW

public static final FunctionError DURATION_OVERFLOW

INVALID_TIMEZONE_VALUE

public static final FunctionError INVALID_TIMEZONE_VALUE

UNDEFINED_CONTEXT_ITEM

public static final FunctionError UNDEFINED_CONTEXT_ITEM

NO_PREFIX_DEFINED

public static final FunctionError NO_PREFIX_DEFINED

NAMESPACE_NOT_FOUND

public static final FunctionError NAMESPACE_NOT_FOUND

BASEURI_NOT_DEFINED

public static final FunctionError BASEURI_NOT_DEFINED

INVALID_CAST_VALUE

public static final FunctionError INVALID_CAST_VALUE

MORE_THAN_ONE_ITEM

public static final FunctionError MORE_THAN_ONE_ITEM

NO_ITEMS

public static final FunctionError NO_ITEMS

ZERO_OR_MORE_THAN_ONE

public static final FunctionError ZERO_OR_MORE_THAN_ONE

INVALID_ARGUMENT_TYPE

public static final FunctionError INVALID_ARGUMENT_TYPE

INVALID_ARGUMENT_AGGREGATE_FUNC

public static final FunctionError INVALID_ARGUMENT_AGGREGATE_FUNC

TWO_TZ_SPECIFIED

public static final FunctionError TWO_TZ_SPECIFIED

RESOLVE_URI_ERROR

public static final FunctionError RESOLVE_URI_ERROR

MISSING_TYPED_VALUE

public static final FunctionError MISSING_TYPED_VALUE
Method Detail

values

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

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

valueOf

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