public class TemplateException extends RuntimeException
Template can not be rendered because
its input can not be parsed correctly, or when its template variables can not
be parsed or evaluated.| Constructor and Description |
|---|
TemplateException()
Creates a new template exception.
|
TemplateException(int line,
int column)
Creates a new template exception.
|
TemplateException(int line,
int column,
String message)
Creates a new template exception.
|
TemplateException(int line,
int column,
String message,
Throwable cause)
Creates a new template exception.
|
TemplateException(int line,
int column,
Throwable cause)
Creates a new template exception.
|
TemplateException(String message)
Creates a new template exception.
|
TemplateException(String message,
Throwable cause)
Creates a new template exception.
|
TemplateException(Throwable cause)
Creates a new template exception.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Returns the column number of the erroneous tag, if any.
|
int |
getLine()
Returns the line number of the erroneous tag, if any.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic TemplateException()
public TemplateException(int line,
int column)
line - The line number of the erroneous tag, if anycolumn - The column number of the erroneous tag, if anypublic TemplateException(String message)
message - The message of the exceptionpublic TemplateException(int line,
int column,
String message)
line - The line number of the erroneous tag, if anycolumn - The column number of the erroneous tag, if anymessage - The message of the exceptionpublic TemplateException(Throwable cause)
cause - The cause of the exceptionpublic TemplateException(int line,
int column,
Throwable cause)
line - The line number of the erroneous tag, if anycolumn - The column number of the erroneous tag, if anycause - The cause of the exceptionpublic TemplateException(String message, Throwable cause)
message - The message of the exceptioncause - The cause of the exceptionpublic TemplateException(int line,
int column,
String message,
Throwable cause)
line - The line number of the erroneous tag, if anycolumn - The column number of the erroneous tag, if anymessage - The message of the exceptioncause - The cause of the exceptionpublic int getLine()
1.public int getColumn()
1.Copyright © 2026. All rights reserved.