All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.mustachejava.MustacheNotFoundException Maven / Gradle / Ivy

There is a newer version: 0.9.14
Show newest version
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