public class TemplateInitException extends VelocityException implements ExtendedParseException
Constructor and Description |
---|
TemplateInitException(String msg,
ParseException parseException,
String templateName,
int col,
int line) |
TemplateInitException(String msg,
String templateName,
int col,
int line) |
Modifier and Type | Method and Description |
---|---|
int |
getColumnNumber()
Returns the column number where this exception occurred.
|
int |
getLineNumber()
Returns the line number where this exception occurred.
|
String |
getTemplateName()
Returns the Template name where this exception occurred.
|
getWrappedThrowable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TemplateInitException(String msg, String templateName, int col, int line)
public TemplateInitException(String msg, ParseException parseException, String templateName, int col, int line)
public String getTemplateName()
getTemplateName
in interface ExtendedParseException
public int getLineNumber()
getLineNumber
in interface ExtendedParseException
public int getColumnNumber()
getColumnNumber
in interface ExtendedParseException
Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.