diff options
Diffstat (limited to 'support/texplate/source/main/java/org/islandoftex/texplate/exceptions/TemplateMergingException.java')
-rw-r--r-- | support/texplate/source/main/java/org/islandoftex/texplate/exceptions/TemplateMergingException.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/TemplateMergingException.java b/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/TemplateMergingException.java new file mode 100644 index 0000000000..86dd99af00 --- /dev/null +++ b/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/TemplateMergingException.java @@ -0,0 +1,37 @@ +// SPDX-License-Identifier: BSD-3-Clause +package org.islandoftex.texplate.exceptions; + +/** + * Handles exceptions when the template merging failed. + * + * @version 1.0 + * @since 1.0 + */ +public class TemplateMergingException extends Exception { + + /** + * Constructor. + */ + public TemplateMergingException() { + } + + /** + * Constructor. + * + * @param message Message to be attached to the exception. + */ + public TemplateMergingException(String message) { + super(message); + } + + /** + * Constructor. + * + * @param message Message to be attached to the exception. + * @param cause The throwable cause to be forwarded. + */ + public TemplateMergingException(String message, Throwable cause) { + super(message, cause); + } + +} |