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

com.symphony.bdk.template.api.TemplateException Maven / Gradle / Ivy

There is a newer version: 3.1.0
Show newest version
package com.symphony.bdk.template.api;

import org.apiguardian.api.API;


/**
 * Exception thrown when instantiating a {@link Template} through {@link TemplateEngine}
 * or when calling {@link Template#process(Object)}.
 * This can be triggered when template cannot be loaded,
 * if template is malformed or if some parameters are missing when calling {@link Template#process(Object)}
 */
@API(status = API.Status.STABLE)
public class TemplateException extends RuntimeException {
  public TemplateException(String message) {
    super(message);
  }

  public TemplateException(String message, Throwable cause) {
    super(message, cause);
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy