public class QuitParsingException extends XPathException
XPathException.Circularity| Constructor and Description |
|---|
QuitParsingException(boolean notifiedByConsumer)
Create a QuitParsingException
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isNotifiedByConsumer() |
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getHostLanguage, getLocator, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContextgetCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocatorpublic 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-2018 Saxonica Limited. All rights reserved.