CollisionException.java
package org.opentrafficsim.road.gtu.lane;
/**
* Throw when a collision is detected.
* <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/node/13">OpenTrafficSim License</a>.
* <p>
* @version $Revision$, $LastChangedDate$, by $Author$, initial version 19 feb. 2019 <br>
* @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
* @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
* @author <a href="http://www.transport.citg.tudelft.nl">Wouter Schakel</a>
*/
public class CollisionException extends RuntimeException
{
/** */
private static final long serialVersionUID = 20150217L;
/**
*
*/
public CollisionException()
{
}
/**
* @param message String; String
*/
public CollisionException(final String message)
{
super(message);
}
/**
* @param cause Throwable; Throwable
*/
public CollisionException(final Throwable cause)
{
super(cause);
}
/**
* @param message String; String
* @param cause Throwable; Throwable
*/
public CollisionException(final String message, final Throwable cause)
{
super(message, cause);
}
/**
* @param message String; description of the problem
* @param cause Throwable; the cause of 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 CollisionException(final String message, final Throwable cause, final boolean enableSuppression,
final boolean writableStackTrace)
{
super(message, cause, enableSuppression, writableStackTrace);
}
}