1 package org.opentrafficsim.draw.core;
2
3 /**
4 * OTSDrawingException . <br>
5 * <br>
6 * Copyright (c) 2003-2022 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See
7 * for project information <a href="https://www.simulation.tudelft.nl/" target="_blank">www.simulation.tudelft.nl</a>. The
8 * source code and binary code of this software is proprietary information of Delft University of Technology.
9 * @author <a href="https://www.tudelft.nl/averbraeck" target="_blank">Alexander Verbraeck</a>
10 */
11 public class OTSDrawingException extends Exception
12 {
13 /** */
14 private static final long serialVersionUID = 1L;
15
16 /** */
17 public OTSDrawingException()
18 {
19 //
20 }
21
22 /**
23 * @param message String; the error message
24 */
25 public OTSDrawingException(final String message)
26 {
27 super(message);
28 }
29
30 /**
31 * @param cause Throwable; the cause of the exception to be included
32 */
33 public OTSDrawingException(final Throwable cause)
34 {
35 super(cause);
36 }
37
38 /**
39 * @param message String; the error message
40 * @param cause Throwable; the cause of the exception to be included
41 */
42 public OTSDrawingException(final String message, final Throwable cause)
43 {
44 super(message, cause);
45 }
46 }