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

main.java.pro.verron.officestamper.api.ExceptionResolver Maven / Gradle / Ivy

Go to download

Office-stamper is a Java template engine for docx documents, forked from org.wickedsource.docx-stamper

The newest version!
package pro.verron.officestamper.api;



/**
 * ExceptionResolver is a functional interface used to resolve the behavior when an exception occurs during
 * the processing of a placeholder.
 * Implementations of this interface define how to handle the exception,
 * potentially logging the error, rethrowing the exception, or providing a fallback value.
 */
@FunctionalInterface
public interface ExceptionResolver {
    String resolve(Placeholder placeholder, String message, Exception cause);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy