play.exceptions.TemplateException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of framework Show documentation
Show all versions of framework Show documentation
RePlay is a fork of the Play1 framework, created by Codeborne.
package play.exceptions;
import play.templates.Template;
public class TemplateException extends PlayException {
public TemplateException(Template template, Integer lineNumber, String message, Throwable cause) {
super(String.format("%s in template %s:%s caused by %s", message, template.getName(), lineNumber, cause), cause);
}
public TemplateException(Template template, Integer lineNumber, String message) {
super(String.format("%s in template %s:%s", message, template.getName(), lineNumber));
}
}