com.ddtek.xquery3
Class XQCancelledException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ddtek.xquery3.XQException
com.ddtek.xquery3.XQQueryException
com.ddtek.xquery3.XQCancelledException
- All Implemented Interfaces:
- Serializable
- public class XQCancelledException
- extends XQQueryException
XQCancelledException is an exception to indicate that the
current XQuery processing is cancelled by the application through a
cancel() request. This exception allows an application to
easily differentiate between a user's cancellation of the query from a
general execution failure.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
XQCancelledException
public XQCancelledException(String message,
Throwable cause,
String vendorCode,
XQException nextException,
String errorCode,
String expr,
XQItem errorItem,
int lineNumber,
int position,
XQStackTraceElement[] trace)
- Construct an
XQCancelledException exception object.
- Parameters:
errorCode - the error condition as specified in
Appendix F, XQuery 1.0: An XML Query languagelineNumber - the line number in the original query string
where this exception occurredposition - the character offset in the original query string
where this exception occurredexpr - the simple expression that caused the exception,
if availableerrorItem - the item passed to fn:error() if this exception was
caused by an fn:errortrace - the XQuery stack trace when the exception occurred, if
available