net.sf.saxon.functions

Class Error

public class Error extends SystemFunction

Implement XPath function fn:error()
Method Summary
ItemevaluateItem(XPathContext context)
Evaluation of the expression always throws an error
ExpressionpreEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing
Expressionsimplify(StaticContext env)
Simplify and validate.

Method Detail

evaluateItem

public Item evaluateItem(XPathContext context)
Evaluation of the expression always throws an error

preEvaluate

public Expression preEvaluate(StaticContext env)
preEvaluate: this method suppresses compile-time evaluation by doing nothing

simplify

public Expression simplify(StaticContext env)
Simplify and validate.