# Serialized Form

## Package japa.parser

### Class japa.parser.ParseException extends Exception implements Serializable

### Serialized Fields

#### specialConstructor

    boolean specialConstructor

This variable determines which constructor was used to create this object and thereby affects the semantics of the "getMessage" method (see below).

#### currentToken

    Token currentToken

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.

#### expectedTokenSequences

    int[][] expectedTokenSequences

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.

#### tokenImage

    String[] tokenImage

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.

#### eol

    String eol

The end of line string for this machine.

### Class japa.parser.TokenMgrError extends Error implements Serializable

### Serialized Fields

#### errorCode

    int errorCode

Indicates the reason why the exception is thrown. It will have one of the above 4 values.