The ParseException type exposes the following members.

Fields

  NameDescription
Public fieldcurrentToken
This is the last token that has been consumed successfully. If this object has been created due to a parse error, the token followng this token will (therefore) be the first error token.
Protected fieldeol
The end of line string for this machine.
Public fieldexpectedTokenSequences
Each entry in this array is an array of integers. Each array of integers represents a sequence of tokens (by their ordinal values) that is expected at this point of the parse.
Protected fieldspecialConstructor
This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).
Public fieldtokenImage
This is a reference to the "tokenImage" array of the generated parser within which the parse error occurred. This array is defined in the generated ...Constants interface.

See Also