public abstract class TemplateException extends PlayException implements SourceAttachment
Constructor and Description |
---|
TemplateException(Template template,
Integer lineNumber,
String message) |
TemplateException(Template template,
Integer lineNumber,
String message,
Throwable cause) |
Modifier and Type | Method and Description |
---|---|
Integer |
getLineNumber() |
List<String> |
getSource() |
String |
getSourceFile() |
Template |
getTemplate() |
getErrorDescription, getErrorTitle, getId, getInterestingStackTraceElement, getInterestingStrackTraceElement, getMoreHTML, isSourceAvailable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public Template getTemplate()
public Integer getLineNumber()
getLineNumber
in interface SourceAttachment
getLineNumber
in class PlayException
public List<String> getSource()
getSource
in interface SourceAttachment
public String getSourceFile()
getSourceFile
in interface SourceAttachment
getSourceFile
in class PlayException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly