Package org.opentrafficsim.road.gtu.lane
Class CollisionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentrafficsim.base.OtsRuntimeException
org.opentrafficsim.road.gtu.lane.CollisionException
- All Implemented Interfaces:
Serializable
public class CollisionException
extends org.opentrafficsim.base.OtsRuntimeException
Throw when a collision is detected.
Copyright (c) 2013-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCollisionException
(String message) CollisionException
(String message, Throwable cause) CollisionException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CollisionException
public CollisionException() -
CollisionException
- Parameters:
message
- String
-
CollisionException
- Parameters:
cause
- Throwable
-
CollisionException
- Parameters:
message
- Stringcause
- Throwable
-