LexerException

constructor(message: String, line: Int, column: Int)

Creates a LexerException with a descriptive message and position information.

Parameters

message

A description of the lexical error

line

The line number where the error occurred

column

The column number where the error occurred


constructor(message: String, line: Int, column: Int, cause: Throwable)

Creates a LexerException with a descriptive message, position information, and a cause.

Parameters

message

A description of the lexical error

line

The line number where the error occurred

column

The column number where the error occurred

cause

The underlying exception that caused this error


constructor(line: Int, column: Int, cause: Throwable)

Creates a LexerException for an uncaught lexeme matcher exception.

Parameters

line

The line number where the error occurred

column

The column number where the error occurred

cause

The exception thrown by the lexeme matcher