public class TemplateInitException extends VelocityException implements ExtendedParseException
Constructor and Description |
---|
TemplateInitException(String msg,
ParseException parseException,
String[] stacktrace,
String templateName,
int col,
int line) |
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.
|
getVtlStackTrace, getWrappedThrowable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TemplateInitException(String msg, String templateName, int col, int line)
msg
- templateName
- col
- line
- public TemplateInitException(String msg, ParseException parseException, String templateName, int col, int line)
msg
- parseException
- templateName
- col
- line
- public TemplateInitException(String msg, ParseException parseException, String[] stacktrace, String templateName, int col, int line)
msg
- parseException
- stacktrace
- templateName
- col
- line
- public String getTemplateName()
getTemplateName
in interface ExtendedParseException
public int getLineNumber()
getLineNumber
in interface ExtendedParseException
public int getColumnNumber()
getColumnNumber
in interface ExtendedParseException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.