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_escapesaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getTemplateName()
getTemplateName in interface ExtendedParseExceptionpublic int getLineNumber()
getLineNumber in interface ExtendedParseExceptionpublic int getColumnNumber()
getColumnNumber in interface ExtendedParseExceptionpublic String getMessage()
getMessage in class ParseExceptionprotected void appendTemplateInfo(StringBuilder sb)
sb - Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.