1 package org.opentrafficsim.trafficcontrol; 2 3 /** 4 * Exceptions thrown by traffic control programs. 5 * <p> 6 * Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br> 7 * BSD-style license. See <a href="http://opentrafficsim.org/node/13">OpenTrafficSim License</a>. 8 * <p> 9 * @version $Revision$, $LastChangedDate$, by $Author$, initial version Nov 16, 2016 <br> 10 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 11 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 12 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 13 */ 14 public class TrafficControlException extends Exception 15 { 16 17 /** */ 18 private static final long serialVersionUID = 20161116; 19 20 /** 21 * 22 */ 23 public TrafficControlException() 24 { 25 } 26 27 /** 28 * @param message String; String 29 */ 30 public TrafficControlException(final String message) 31 { 32 super(message); 33 } 34 35 /** 36 * @param cause Throwable; Throwable 37 */ 38 public TrafficControlException(final Throwable cause) 39 { 40 super(cause); 41 } 42 43 /** 44 * @param message String; String 45 * @param cause Throwable; Throwable 46 */ 47 public TrafficControlException(final String message, final Throwable cause) 48 { 49 super(message, cause); 50 } 51 52 /** 53 * @param message String; description of the problem 54 * @param cause Throwable; the cause of this Exception 55 * @param enableSuppression boolean; whether or not suppression is enabled or disabled 56 * @param writableStackTrace boolean; whether or not the stack trace should be writable 57 */ 58 public TrafficControlException(final String message, final Throwable cause, final boolean enableSuppression, 59 final boolean writableStackTrace) 60 { 61 super(message, cause, enableSuppression, writableStackTrace); 62 } 63 64 }