summaryrefslogtreecommitdiff
path: root/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java
diff options
context:
space:
mode:
Diffstat (limited to 'support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java')
-rw-r--r--support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java b/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java
new file mode 100644
index 0000000000..73c8276998
--- /dev/null
+++ b/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java
@@ -0,0 +1,34 @@
+// SPDX-License-Identifier: BSD-3-Clause
+package org.islandoftex.texplate.exceptions;
+
+/**
+ * Handles exceptions when the template is somehow invalid.
+ *
+ * @version 1.0
+ * @since 1.0
+ */
+public class InvalidTemplateException extends Exception {
+
+ public InvalidTemplateException() {
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param message Message to be attached to the exception.
+ */
+ public InvalidTemplateException(String message) {
+ super(message);
+ }
+
+ /**
+ * Constructor.
+ *
+ * @param message Message to be attached to the exception.
+ * @param cause The throwable cause to be forwarded.
+ */
+ public InvalidTemplateException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+}