com.github.mustachejava.MustacheNotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of compiler Show documentation
Show all versions of compiler Show documentation
Implementation of mustache.js for Java
package com.github.mustachejava;
/**
* Mustache exception that provides the name of the missing mustache.
*/
public class MustacheNotFoundException extends MustacheException {
private final String name;
public MustacheNotFoundException(String name) {
super("Template " + name + " not found");
this.name = name;
}
public MustacheNotFoundException(String name, Throwable throwable) {
super("Template " + name + " not found", throwable);
this.name = name;
}
public String getName() {
return name;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy