Package org.eclipse.wst.xml.xpath2.processor


org.eclipse.wst.xml.xpath2.processor
Class DynamicError



public class DynamicError
extends org.eclipse.wst.xml.xpath2.processor.XPathException
Dynamic Error like division by 0 or type errors.

Constructor Summary

DynamicError(java.lang.String code , java.lang.String err)
DynamicError(org.eclipse.wst.xml.xpath2.processor.internal.TypeError te)

Method Summary

public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorargument_type_error(java.lang.Class type)
     Returns the dynamic error.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorcant_cast(java.lang.String err)
     Returns the dynamic error.
public java.lang.Stringcode()
     Returns the string of the code.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorcontextUndefined()
    
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrordiv_zero(java.lang.String msg)
     Returns the error message when reads a Division by zero
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrordoc_not_found(java.lang.String msg)
     Returns the error message when fn:doc cannot load its document
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorempty_seq(java.lang.String msg)
     Returns the error message
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorerrorResolvingURI()
     Error resolving relative uri against base-uri.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinconsistentTimeZone()
     The two arguments to fn:dateTime have inconsistent timezones
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinputToLargeForDecimal()
    
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalid_doc(java.lang.String msg)
     Returns the error message when reads Invalid argument to fn:doc
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalidCollectionArgument()
     Returns the error message when reads Invalid argument to fn:collection
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalidForCastConstructor()
     Data is invalid for casting or the data type constructor.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalidLexicalValue()
     Invalid lexical value
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalidPrefix()
     No namespace found for prefix.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalidTimezone()
     Invalid Timezone value.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorinvalidType()
    
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorlexical_error(java.lang.String msg)
     Returns the error message when reads an Invalid lexical value
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrormore_one_item(java.lang.String msg)
     Returns the error message
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrornan()
     Overflow/underflow in duration operation.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrornoBaseURI()
     No base-uri defined.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrornoContextDoc()
     No context document
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrornot_cmp(java.lang.String msg)
     Returns the error message when reads an Items not comparable
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrornot_one(java.lang.String msg)
     Returns the error message
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrornumeric_overflow(java.lang.String msg)
     Numeric operation overflow/underflow
public static org.eclipse.wst.xml.xpath2.processor.DynamicErroroverflowDateTime()
     Overflow/underflow in date/time operation
public static org.eclipse.wst.xml.xpath2.processor.DynamicErroroverflowUnderflow()
     Overflow/underflow in duration operation.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorregex_error(java.lang.String err)
     Returns the dynamic error.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorregex_flags_error(java.lang.String err)
     Returns the Dynamic Error for invalid flags in regular expressions
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorregex_match_zero_length(java.lang.String err)
     Returns the dynamic error.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorruntime_error(java.lang.String msg , java.lang.Throwable err)
     Returns the dynamic error for an unsupported normalization form
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorthrow_type_error()
     Returns the dynamic error.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorunsupported_codepoint(java.lang.String err)
     Returns the dynamic error for an unsupported Unicode codepoint
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorunsupported_collation(java.lang.String collationName)
     Returns the dynamic error for an unsupported normalization form
public static org.eclipse.wst.xml.xpath2.processor.DynamicErrorunsupported_normalization_form(java.lang.String err)
     Returns the dynamic error for an unsupported normalization form
public static org.eclipse.wst.xml.xpath2.processor.DynamicErroruser_error(java.lang.String ns , java.lang.String code , java.lang.String desc)
     Returns the dynamic error.
public static org.eclipse.wst.xml.xpath2.processor.DynamicErroruser_error(java.lang.String err)
     Returns the dynamic error.

Constructor Detail

DynamicError

public DynamicError(java.lang.String code , java.lang.String err)

Constructor for Dynamic Error.


DynamicError

public DynamicError(org.eclipse.wst.xml.xpath2.processor.internal.TypeError te)

Constructor for Dynamic Error.


Methods Detail

argument_type_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError argument_type_error(java.lang.Class type)

Returns the dynamic error.

Parameters

type - Type found

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


cant_cast

public org.eclipse.wst.xml.xpath2.processor.DynamicError cant_cast(java.lang.String err)

Returns the dynamic error.

Parameters

err - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


code

public java.lang.String code()

Returns the string of the code.

Returns

java.lang.String - the code.


contextUndefined

public org.eclipse.wst.xml.xpath2.processor.DynamicError contextUndefined()

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


div_zero

public org.eclipse.wst.xml.xpath2.processor.DynamicError div_zero(java.lang.String msg)

Returns the error message when reads a Division by zero

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


doc_not_found

public org.eclipse.wst.xml.xpath2.processor.DynamicError doc_not_found(java.lang.String msg)

Returns the error message when fn:doc cannot load its document

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


empty_seq

public org.eclipse.wst.xml.xpath2.processor.DynamicError empty_seq(java.lang.String msg)

Returns the error message

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


errorResolvingURI

public org.eclipse.wst.xml.xpath2.processor.DynamicError errorResolvingURI()

Error resolving relative uri against base-uri.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


inconsistentTimeZone

public org.eclipse.wst.xml.xpath2.processor.DynamicError inconsistentTimeZone()

The two arguments to fn:dateTime have inconsistent timezones

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


inputToLargeForDecimal

public org.eclipse.wst.xml.xpath2.processor.DynamicError inputToLargeForDecimal()

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


invalid_doc

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalid_doc(java.lang.String msg)

Returns the error message when reads Invalid argument to fn:doc

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


invalidCollectionArgument

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalidCollectionArgument()

Returns the error message when reads Invalid argument to fn:collection

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


invalidForCastConstructor

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalidForCastConstructor()

Data is invalid for casting or the data type constructor.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - FORG0001


invalidLexicalValue

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalidLexicalValue()

Invalid lexical value

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


invalidPrefix

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalidPrefix()

No namespace found for prefix.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


invalidTimezone

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalidTimezone()

Invalid Timezone value.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


invalidType

public org.eclipse.wst.xml.xpath2.processor.DynamicError invalidType()

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError


lexical_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError lexical_error(java.lang.String msg)

Returns the error message when reads an Invalid lexical value

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


more_one_item

public org.eclipse.wst.xml.xpath2.processor.DynamicError more_one_item(java.lang.String msg)

Returns the error message

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


nan

public org.eclipse.wst.xml.xpath2.processor.DynamicError nan()

Overflow/underflow in duration operation.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


noBaseURI

public org.eclipse.wst.xml.xpath2.processor.DynamicError noBaseURI()

No base-uri defined.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


noContextDoc

public org.eclipse.wst.xml.xpath2.processor.DynamicError noContextDoc()

No context document

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


not_cmp

public org.eclipse.wst.xml.xpath2.processor.DynamicError not_cmp(java.lang.String msg)

Returns the error message when reads an Items not comparable

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


not_one

public org.eclipse.wst.xml.xpath2.processor.DynamicError not_one(java.lang.String msg)

Returns the error message

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


numeric_overflow

public org.eclipse.wst.xml.xpath2.processor.DynamicError numeric_overflow(java.lang.String msg)

Numeric operation overflow/underflow

Parameters

msg - is the message

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the make_error


overflowDateTime

public org.eclipse.wst.xml.xpath2.processor.DynamicError overflowDateTime()

Overflow/underflow in date/time operation

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


overflowUnderflow

public org.eclipse.wst.xml.xpath2.processor.DynamicError overflowUnderflow()

Overflow/underflow in duration operation.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


regex_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError regex_error(java.lang.String err)

Returns the dynamic error.

Parameters

err - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


regex_flags_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError regex_flags_error(java.lang.String err)

Returns the Dynamic Error for invalid flags in regular expressions

Parameters

err

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError


regex_match_zero_length

public org.eclipse.wst.xml.xpath2.processor.DynamicError regex_match_zero_length(java.lang.String err)

Returns the dynamic error.

Parameters

err - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


runtime_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError runtime_error(java.lang.String msg , java.lang.Throwable err)

Returns the dynamic error for an unsupported normalization form

Parameters

msg

err - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


throw_type_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError throw_type_error()

Returns the dynamic error.

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.

Throws:

org.eclipse.wst.xml.xpath2.processor.DynamicError - a Dynamic Error


unsupported_codepoint

public org.eclipse.wst.xml.xpath2.processor.DynamicError unsupported_codepoint(java.lang.String err)

Returns the dynamic error for an unsupported Unicode codepoint

Parameters

err - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


unsupported_collation

public org.eclipse.wst.xml.xpath2.processor.DynamicError unsupported_collation(java.lang.String collationName)

Returns the dynamic error for an unsupported normalization form

Parameters

collationName - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


unsupported_normalization_form

public org.eclipse.wst.xml.xpath2.processor.DynamicError unsupported_normalization_form(java.lang.String err)

Returns the dynamic error for an unsupported normalization form

Parameters

err - is the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


user_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError user_error(java.lang.String ns , java.lang.String code , java.lang.String desc)

Returns the dynamic error.

Parameters

ns

code

desc - is the description of the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.


user_error

public org.eclipse.wst.xml.xpath2.processor.DynamicError user_error(java.lang.String err)

Returns the dynamic error.

Parameters

err - is the description of the error

Returns

org.eclipse.wst.xml.xpath2.processor.DynamicError - the DynamicError.