1 package org.opentrafficsim.road.network.lane.object.trafficlight; 2 3 /** 4 * Exception for traffic lights and traffic light controllers. 5 * <p> 6 * Copyright (c) 2013-2016 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/docs/current/license.html">OpenTrafficSim License</a>. 8 * </p> 9 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, 10 * initial version Oct 4, 2016 <br> 11 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a> 12 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a> 13 * @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a> 14 */ 15 public class TrafficLightException extends Exception 16 { 17 /** */ 18 private static final long serialVersionUID = 20161004L; 19 20 /** 21 * Construct a TrafficLightException. 22 */ 23 public TrafficLightException() 24 { 25 } 26 27 /** 28 * Construct a TrafficLightException. 29 * @param message the explanation of the exception 30 */ 31 public TrafficLightException(final String message) 32 { 33 super(message); 34 } 35 36 /** 37 * Construct a TrafficLightException. 38 * @param cause the Throwable causing this exception 39 */ 40 public TrafficLightException(final Throwable cause) 41 { 42 super(cause); 43 } 44 45 /** 46 * @param message the explanation of the exception 47 * @param cause the Throwable causing this exception 48 */ 49 public TrafficLightException(final String message, final Throwable cause) 50 { 51 super(message, cause); 52 } 53 54 /** 55 * @param message the explanation of the exception 56 * @param cause the Throwable causing this exception 57 * @param enableSuppression whether or not suppression is enabled or disabled 58 * @param writableStackTrace whether or not the stack trace should be writable 59 */ 60 public TrafficLightException(final String message, final Throwable cause, final boolean enableSuppression, 61 final boolean writableStackTrace) 62 { 63 super(message, cause, enableSuppression, writableStackTrace); 64 } 65 66 }