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
This class is not intended to be instantiated or subclassed by clients.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRecognitionException(int line, String message) RecognitionException(int line, String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RecognitionException
-
RecognitionException
- Since:
- 1.16
-
RecognitionException
- Since:
- 1.16
-
-
Method Details
-
getLine
public int getLine()Line where the parsing error has occurred.- Returns:
- line
-