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

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

There is a newer version: 2.1.2
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