public class ParseException extends MXSystemException
Modifier and Type | Field and Description |
---|---|
Token |
currentToken
This is the last token that has been consumed successfully.
|
int[][] |
expectedTokenSequences
Each entry in this array is an array of integers.
|
java.lang.String[] |
tokenImage
This is a reference to the "tokenImage" array of the generated
parser within which the parse error occurred.
|
detail, params
Constructor and Description |
---|
ParseException()
The following constructors are for use by you for whatever
purpose you can think of.
|
ParseException(java.lang.String eg,
java.lang.String ek) |
ParseException(java.lang.String eg,
java.lang.String ek,
java.lang.Exception e) |
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
This method has the standard behavior when this object has been
created using the standard constructors.
|
equals, getDetail, getDisplayMessage, getErrorAttr, getErrorAttrValue, getErrorCorrelationId, getErrorGroup, getErrorKey, getErrorObjectName, getForcedLangCode, getMessage, getParameters, hasDetail, hasParameters, isServerSide, setErrorAttr, setErrorAttrValue, setErrorCorrelationId, setErrorObjectName, setForcedLangCode, setServerSide
public Token currentToken
public int[][] expectedTokenSequences
public java.lang.String[] tokenImage
public ParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, java.lang.String[] tokenImageVal)
public ParseException()
public ParseException(java.lang.String eg, java.lang.String ek)
public ParseException(java.lang.String eg, java.lang.String ek, java.lang.Exception e)
public java.lang.String getMessage()
getMessage
in class MXException