OTSSimulationException.java
package org.opentrafficsim.core.dsol;
/**
* Exception for the operational plan, e.g. when a request is given outside the plan's validity.
* <p>
* Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
* BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
* </p>
* $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
* initial version Dec 23, 2015 <br>
* @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
* @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
*/
public class OTSSimulationException extends Exception
{
/** */
private static final long serialVersionUID = 20151223L;
/**
* Construct an operational plan exception.
*/
public OTSSimulationException()
{
super();
}
/**
* @param message String; exception message
*/
public OTSSimulationException(final String message)
{
super(message);
}
/**
* @param cause Throwable; exception that triggered this exception
*/
public OTSSimulationException(final Throwable cause)
{
super(cause);
}
/**
* @param message String; exception message
* @param cause Throwable; exception that triggered this exception
*/
public OTSSimulationException(final String message, final Throwable cause)
{
super(message, cause);
}
/**
* @param message String; exception message
* @param cause Throwable; exception that triggered this exception
* @param enableSuppression boolean; whether or not suppression is enabled or disabled
* @param writableStackTrace boolean; whether or not the stack trace should be writable
*/
public OTSSimulationException(final String message, final Throwable cause, final boolean enableSuppression,
final boolean writableStackTrace)
{
super(message, cause, enableSuppression, writableStackTrace);
}
}