| |
|
| java.lang.Object java.lang.Throwable java.lang.Exception org.apache.velocity.runtime.parser.ParseException org.apache.velocity.runtime.directive.MacroParseException
MacroParseException | public MacroParseException(String msg, String templateName, Token currentToken)(Code) | | Parameters: msg - Parameters: templateName - Parameters: currentToken - |
appendTemplateInfo | protected void appendTemplateInfo(StringBuffer sb)(Code) | | Parameters: sb - |
getColumnNumber | public int getColumnNumber()(Code) | | returns the column number where this exception occured.
The column number where this exception occured. |
getLineNumber | public int getLineNumber()(Code) | | returns the line number where this exception occured.
The line number where this exception occured. |
getMessage | public String getMessage()(Code) | | This method has the standard behavior when this object has been
created using the standard constructors. Otherwise, it uses
"currentToken" and "expectedTokenSequences" to generate a parse
error message and returns it. If this object has been created
due to a parse error, and you do not catch it (it gets thrown
from the parser), then this method is called during the printing
of the final stack trace, and hence the correct error message
gets displayed.
the current message. |
getTemplateName | public String getTemplateName()(Code) | | returns the Template name where this exception occured.
The Template name where this exception occured. |
|
|
|