Package com.sonar.sslr.api
Class RecognitionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.sonar.sslr.api.RecognitionException
-
- All Implemented Interfaces:
Serializable
public class RecognitionException extends RuntimeException
This class is not intended to be instantiated or subclassed by clients.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecognitionException(int line, String message)
RecognitionException(int line, String message, Throwable cause)
RecognitionException(LexerException e)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLine()
Line where the parsing error has occurred.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RecognitionException
public RecognitionException(LexerException e)
-
RecognitionException
public RecognitionException(int line, String message)
- Since:
- 1.16
-
-