Class QuitParsingException

  • All Implemented Interfaces:

    public class QuitParsingException
    extends XPathException
    An exception used to signal that no more input is required from the parser, and that parsing can therefore be abandoned early (but without signaling any error to the user)
    See Also:
    Serialized Form
    • Constructor Detail

      • QuitParsingException

        public QuitParsingException​(boolean notifiedByConsumer)
        Create a QuitParsingException
        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.
    • Method Detail

      • isNotifiedByConsumer

        public boolean isNotifiedByConsumer()