com.symphony.bdk.template.api.TemplateException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of symphony-bdk-template-api Show documentation
Show all versions of symphony-bdk-template-api Show documentation
Symphony Java BDK Template API module
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