public abstract class TemplateException extends PlayException implements SourceAttachment
Constructor and Description |
---|
TemplateException(Template template,
java.lang.Integer lineNumber,
java.lang.String message) |
TemplateException(Template template,
java.lang.Integer lineNumber,
java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getLineNumber() |
java.util.List<java.lang.String> |
getSource() |
java.lang.String |
getSourceFile() |
Template |
getTemplate() |
getErrorDescription, getErrorTitle, getId, getInterestingStackTraceElement, getInterestingStrackTraceElement, getMoreHTML, isSourceAvailable
public TemplateException(Template template, java.lang.Integer lineNumber, java.lang.String message)
public TemplateException(Template template, java.lang.Integer lineNumber, java.lang.String message, java.lang.Throwable cause)
public Template getTemplate()
public java.lang.Integer getLineNumber()
getLineNumber
in interface SourceAttachment
getLineNumber
in class PlayException
public java.util.List<java.lang.String> getSource()
getSource
in interface SourceAttachment
public java.lang.String getSourceFile()
getSourceFile
in interface SourceAttachment
getSourceFile
in class PlayException
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly