play.exceptions.TemplateNotFoundException 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.BaseTemplate;
public class TemplateNotFoundException extends PlayException {
private final String path;
public TemplateNotFoundException(String path) {
super("Template not found : " + path);
this.path = path;
}
public TemplateNotFoundException(String path, BaseTemplate template, int fromLine) {
super(String.format("Template not found : %s - called from %s:%s", path, template.name, fromLine));
this.path = path;
}
public String getPath() {
return this.path;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy