1 package org.opentrafficsim.road.network.factory.xml;
2
3 /**
4 * Exception during parsing.
5 * <p>
6 * Copyright (c) 2013-2023 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
7 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
8 * </p>
9 * @author <a href="https://github.com/averbraeck">Alexander Verbraeck</a>
10 * @author <a href="https://tudelft.nl/staff/p.knoppers-1">Peter Knoppers</a>
11 * @author <a href="https://dittlab.tudelft.nl">Wouter Schakel</a>
12 */
13 // TODO this class is not yet used in the network parser
14 public class XmlParserException extends Exception
15 {
16
17 /** */
18 private static final long serialVersionUID = 20180525L;
19
20 /**
21 *
22 */
23 public XmlParserException()
24 {
25 }
26
27 /**
28 * @param message String; message
29 * @param cause Throwable; cause
30 */
31 public XmlParserException(final String message, final Throwable cause)
32 {
33 super(message, cause);
34 }
35
36 /**
37 * @param message String; messge
38 */
39 public XmlParserException(final String message)
40 {
41 super(message);
42 }
43
44 /**
45 * @param cause Throwable; cause
46 */
47 public XmlParserException(final Throwable cause)
48 {
49 super(cause);
50 }
51
52 }