1 /*
2 * File: SAXSemanticException.java
3 * Created: 20-dub-06 6:58:53
4 *
5 * Copyright 2006 Michal Burda.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21 package net.sf.webmancer.util.xml.sax;
22
23 import org.xml.sax.Locator;
24 import org.xml.sax.SAXParseException;
25
26 /**
27 * @author michal
28 */
29 public class SAXSemanticException extends SAXParseException {
30 /**
31 *
32 */
33 private static final long serialVersionUID = 5005201038753928025L;
34
35 /**
36 * @param message
37 * @param locator
38 */
39 public SAXSemanticException(final String message, final Locator locator) {
40 super(message, locator);
41 }
42
43 /**
44 * @param message
45 * @param locator
46 * @param e
47 */
48 public SAXSemanticException(final String message, final Locator locator, final Exception e) {
49 super(message, locator, e);
50 }
51
52 /**
53 * @param message
54 * @param publicId
55 * @param systemId
56 * @param lineNumber
57 * @param columnNumber
58 */
59 public SAXSemanticException(final String message, final String publicId, final String systemId, final int lineNumber, final int columnNumber) {
60 super(message, publicId, systemId, lineNumber, columnNumber);
61 }
62
63 /**
64 * @param message
65 * @param publicId
66 * @param systemId
67 * @param lineNumber
68 * @param columnNumber
69 * @param e
70 */
71 public SAXSemanticException(final String message, final String publicId, final String systemId, final int lineNumber, final int columnNumber,
72 final Exception e) {
73 super(message, publicId, systemId, lineNumber, columnNumber, e);
74 }
75
76 }