fn:error()
Function signature
Result |
|
Raises an error.
fn:error($error as xs:QName?)
Function signature
Result |
|
Raises an error.
Saxon allows the first argument to be an empty sequence, treating this as equivalent to calling fn:error() with no arguments. The URI part of the QName is currently ignored.
fn:error($error as xs:QName?, $description as xs:string)
Function signature
Result |
|
Raises an error.
The URI part of the QName is currently ignored.
fn:error($error as xs:QName?, $description as xs:string, $error-object as item()*)
Function signature
Result |
|
Raises an error. The error-object is added to the exception that is thrown, and may be retrieved from the calling Java application by means of the method XPathException#getErrorObject(). In addition, if the error object is in the form of the error document passed by the saxon:try() function to the nominated catch function, then the location information is extracted from the error object and added to the exception that is thrown.
The URI part of the QName is currently ignored.