1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20 package org.peaseplate.lang;
21
22 import org.peaseplate.internal.AbstractLocatedTemplateException;
23 import org.peaseplate.internal.lang.TokenizerException;
24 import org.peaseplate.locator.TemplateLocator;
25
26 public class TemplateParserException extends AbstractLocatedTemplateException {
27
28 private static final long serialVersionUID = 1L;
29
30 public TemplateParserException(TemplateLocator locator, int line, int column, String message) {
31 super(locator, line, column, message);
32 }
33
34 public TemplateParserException(TemplateLocator locator, int line, int column, String message, Throwable cause) {
35 super(locator, line, column, message, cause);
36 }
37
38 public TemplateParserException(TemplateLocator locator, TokenizerException e) {
39 this(locator, e.getLine(), e.getColumn(), e.getMessage(), e);
40 }
41
42 }