fi.evolver.ai.spring.prompt.template.PromptTemplateException Maven / Gradle / Ivy
package fi.evolver.ai.spring.prompt.template;
import fi.evolver.utils.format.FormatUtils;
public class PromptTemplateException extends RuntimeException {
private static final long serialVersionUID = 1L;
public PromptTemplateException(Throwable cause, String section, String message, Object... args) {
super("%s: %s".formatted(section, FormatUtils.format(message, args)), cause);
}
public PromptTemplateException(String section, String message, Object... args) {
super("%s: %s".formatted(section, FormatUtils.format(message, args)));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy