public class TemplateParseException extends ParseException
org.apache.velocity.runtime.parser.ParseException,
Serialized FormcurrentToken, eol, expectedTokenSequences, tokenImage| Constructor and Description |
|---|
TemplateParseException()
The following constructors are for use by you for whatever purpose you can think of.
|
TemplateParseException(String message)
Creates a new TemplateParseException object.
|
TemplateParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal)
This constructor is used by the method "generateParseException" in the generated parser.
|
TemplateParseException(Token currentTokenVal,
int[][] expectedTokenSequencesVal,
String[] tokenImageVal,
String templateNameVal)
This constructor is used to add a template name to info cribbed from a ParseException generated in the parser.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
appendTemplateInfo(StringBuffer sb) |
int |
getColumnNumber()
returns the column number where this exception occured.
|
int |
getLineNumber()
returns the line number where this exception occured.
|
String |
getMessage()
This method has the standard behavior when this object has been created using the standard constructors.
|
String |
getTemplateName()
returns the Template name where this exception occured.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TemplateParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal, String templateNameVal)
currentTokenVal - expectedTokenSequencesVal - tokenImageVal - templateNameVal - public TemplateParseException(Token currentTokenVal, int[][] expectedTokenSequencesVal, String[] tokenImageVal)
currentTokenVal - expectedTokenSequencesVal - tokenImageVal - public TemplateParseException()
public TemplateParseException(String message)
message - TODO: DOCUMENT ME!public String getTemplateName()
public int getLineNumber()
public int getColumnNumber()
public String getMessage()
getMessage in class Throwableprotected void appendTemplateInfo(StringBuffer sb)
sb - Copyright © 2002-2014 InfoEther. All Rights Reserved.