public class RecognitionException extends RuntimeException
This class is not intended to be instantiated or subclassed by clients.
| Constructor and Description |
|---|
RecognitionException(int line,
String message) |
RecognitionException(int line,
String message,
Throwable cause) |
RecognitionException(LexerException e) |
| Modifier and Type | Method and Description |
|---|---|
int |
getLine()
Line where the parsing error has occurred.
|
boolean |
isFatal()
Deprecated.
in 1.19
|
boolean |
isToRetryWithExtendStackTrace()
Deprecated.
in 1.19
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RecognitionException(LexerException e)
public RecognitionException(int line,
String message)
public int getLine()
@Deprecated public boolean isToRetryWithExtendStackTrace()
@Deprecated public boolean isFatal()
Copyright © 2009–2018 SonarSource. All rights reserved.