Class ParserException

All Implemented Interfaces:
Serializable

public class ParserException extends RuntimeException
Signals a syntax or grammar violation while parsing AWK source text.
See Also:
  • Constructor Details

    • ParserException

      public ParserException(String msg, String sourceDescription, int lineNumber)
      Creates a parser exception annotated with source location information.
      Parameters:
      msg - Failure message
      sourceDescription - Human-readable source description
      lineNumber - 0-based or parser-reported line number where the error occurred