Class ParseCancellationException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    v3TreeGrammarException

    public class ParseCancellationException
    extends java.util.concurrent.CancellationException
    This exception is thrown to cancel a parsing operation. This exception does not extend RecognitionException, allowing it to bypass the standard error recovery mechanisms. BailErrorStrategy throws this exception in response to a parse error.
    Author:
    Sam Harwell
    See Also:
    Serialized Form
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • ParseCancellationException

        public ParseCancellationException()
      • ParseCancellationException

        public ParseCancellationException​(java.lang.String message)
      • ParseCancellationException

        public ParseCancellationException​(java.lang.Throwable cause)
      • ParseCancellationException

        public ParseCancellationException​(java.lang.String message,
                                          java.lang.Throwable cause)