Top Description Constructors
org.antlr.v4.runtime.misc

public Class ParseCancellationException

extends CancellationException
Class Inheritance
Imports
org.antlr.v4.runtime.BailErrorStrategy, .RecognitionException, 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

Constructor Summary

AccessConstructor and Description
public
public
public
public

Constructor Detail

ParseCancellationExceptionback to summary
public ParseCancellationException()
ParseCancellationExceptionback to summary
public ParseCancellationException(String message)
ParseCancellationExceptionback to summary
public ParseCancellationException(Throwable cause)
ParseCancellationExceptionback to summary
public ParseCancellationException(String message, Throwable cause)