main.java.pro.verron.officestamper.api.OfficeStamperException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of engine Show documentation
Show all versions of engine Show documentation
Office-stamper is a Java template engine for docx documents, forked from org.wickedsource.docx-stamper
The newest version!
package pro.verron.officestamper.api;
/**
* OfficeStamperException is a subclass of RuntimeException that represents an exception that can be thrown during the
* processing of an Office document using the OfficeStamper library.
* It provides additional constructors to handle different scenarios.
*/
public class OfficeStamperException
extends RuntimeException {
/**
* OfficeStamperException is a subclass of RuntimeException that represents an exception that can be thrown
* during the processing of an Office document using the OfficeStamper
* library.
*
* @param message a message describing the error
*/
public OfficeStamperException(String message) {
super(message);
}
/**
* OfficeStamperException is a subclass of RuntimeException that represents an exception that can be thrown
* during the processing of an Office document using the OfficeStamper
* library.
*
* @param cause the cause of the exception
*/
public OfficeStamperException(Throwable cause) {
super(cause);
}
/**
* OfficeStamperException is a subclass of RuntimeException that represents an exception that can be thrown
* during the processing of an Office document using the OfficeStamper
* library.
*
* @param message a message describing the error
* @param cause the cause of the exception
*/
public OfficeStamperException(String message, Throwable cause) {
super(message, cause);
}
/**
* OfficeStamperException is a subclass of RuntimeException
* that represents an exception
* that can be thrown during the processing of an Office document using the OfficeStamper
* library.
*/
public OfficeStamperException() {
super("Unexpected exception");
}
}