public class QuitParsingException extends XPathException
XPathException.Circularity, XPathException.StackOverflow
Constructor and Description |
---|
QuitParsingException(boolean notifiedByConsumer)
Create a QuitParsingException
|
Modifier and Type | Method and Description |
---|---|
boolean |
isNotifiedByConsumer() |
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getFailingExpression, getHostLanguage, getLocator, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetFailingExpression, maybeSetLocation, setErrorCode, setErrorCodeQName, setErrorObject, setFailingExpression, setHasBeenReported, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContext
getCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
public QuitParsingException(boolean notifiedByConsumer)
notifiedByConsumer
- should be set to true if the exception was generating in the parsing
thread in response to an interrupt from the consuming thread; in this case
there is no need for the consuming thread to be notified of the termination
(by sending a "stopper" item); and indeed, doing so causes the thread to hang.
See bug 3080.Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.