summaryrefslogtreecommitdiff
path: root/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-15 03:00:56 +0000
committerNorbert Preining <norbert@preining.info>2020-01-15 03:00:56 +0000
commit3bd863734612dc2fe9c5c7c1405358ffb1228afb (patch)
tree9f7d421c227b998debe92dac90f4cf8634a8f94f /support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java
parentb3225c4301e7724de481f410444fef5463799b9d (diff)
CTAN sync 202001150300
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);
+ }
+
+}