Class ParseCancellationException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
v3TreeGrammarException

public class ParseCancellationException extends 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:
  • Constructor Details

    • ParseCancellationException

      public ParseCancellationException()
    • ParseCancellationException

      public ParseCancellationException(String message)
    • ParseCancellationException

      public ParseCancellationException(Throwable cause)
    • ParseCancellationException

      public ParseCancellationException(String message, Throwable cause)