Package io.jawk.frontend.ast
Class ParserException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.jawk.frontend.ast.ParserException
- All Implemented Interfaces:
Serializable
Signals a syntax or grammar violation while parsing AWK source text.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParserException(String msg, String sourceDescription, int lineNumber) Creates a parser exception annotated with source location information. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParserException
Creates a parser exception annotated with source location information.- Parameters:
msg- Failure messagesourceDescription- Human-readable source descriptionlineNumber- 0-based or parser-reported line number where the error occurred
-