1 package org.opentrafficsim.draw.core; 2 3 /** 4 * OtsDrawingException. 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" 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 }