summaryrefslogtreecommitdiff
path: root/support/texplate/source/main/java/org/islandoftex/texplate/exceptions/InvalidTemplateException.java
blob: 73c8276998032fdf386f22b0082726abecea865b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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);
    }

}