jrun.jsp.parser
Class ParseException
jrun.jsp.parser.ParseException
- Direct Known Subclasses:
- IncludeVisitor.IncludeIOException, IncludeVisitor.RecursiveInclude
- public class ParseException
({pagePath}:{line}) Parse error: Encountered "{tokenText}"
|
Constructor Summary |
ParseException()
|
ParseException(java.lang.String text,
int line)
|
ParseException(java.lang.String text,
int line,
java.lang.Throwable rootCause)
|
ParseException(java.lang.String pagePath,
java.lang.String text,
int line,
java.lang.Throwable rootCause)
|
ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
This constructor is used by the method "generateParseException"
in the generated parser. |
line
public int line
tokenText
public java.lang.String tokenText
pagePath
public java.lang.String pagePath
ParseException
public ParseException()
ParseException
public ParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
java.lang.String[] tokenImageVal)
- This constructor is used by the method "generateParseException"
in the generated parser. Calling this constructor generates
a new object of this type with the fields "currentToken",
"expectedTokenSequences", and "tokenImage" set. The boolean
flag "specialConstructor" is also set to true to indicate that
this constructor was used to create this object.
This constructor calls its super class with the empty string
to force the "toString" method of parent class "Throwable" to
print the error message in the form:
ParseException:
ParseException
public ParseException(java.lang.String text,
int line)
ParseException
public ParseException(java.lang.String text,
int line,
java.lang.Throwable rootCause)
ParseException
public ParseException(java.lang.String pagePath,
java.lang.String text,
int line,
java.lang.Throwable rootCause)
setPagePath
public void setPagePath(java.lang.String pagePath)
getRootCause
public java.lang.Throwable getRootCause()
getMessage
public java.lang.String getMessage()
Copyright � 2002 Macromedia Corporation. All Rights Reserved.