public class MacroParseException extends ParseException implements ExtendedParseException
currentToken, eol, expectedTokenSequences, specialConstructor, tokenImage
Constructor and Description |
---|
MacroParseException(String msg,
String templateName,
Token currentToken) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendTemplateInfo(StringBuilder 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.
|
add_escapes
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public String getTemplateName()
getTemplateName
in interface ExtendedParseException
public int getLineNumber()
getLineNumber
in interface ExtendedParseException
public int getColumnNumber()
getColumnNumber
in interface ExtendedParseException
public String getMessage()
getMessage
in class ParseException
protected void appendTemplateInfo(StringBuilder sb)
sb
- Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.