public class MacroParseException extends ParseException
currentToken, eol, expectedTokenSequences, tokenImage| Constructor | Description |
|---|---|
MacroParseException(java.lang.String msg,
java.lang.String templateName,
Token currentToken) |
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
appendTemplateInfo(java.lang.StringBuffer sb) |
|
int |
getColumnNumber() |
returns the column number where this exception occured.
|
int |
getLineNumber() |
returns the line number where this exception occured.
|
java.lang.String |
getMessage() |
This method has the standard behavior when this object has been created
using the standard constructors.
|
java.lang.String |
getTemplateName() |
returns the Template name where this exception occured.
|
public MacroParseException(java.lang.String msg,
java.lang.String templateName,
Token currentToken)
msg - templateName - currentToken - public java.lang.String getTemplateName()
public int getLineNumber()
public int getColumnNumber()
public java.lang.String getMessage()
getMessage in class java.lang.Throwableprotected void appendTemplateInfo(java.lang.StringBuffer sb)
sb - Copyright © 2002–2018 PMD. All rights reserved.