Class CollisionException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentrafficsim.road.gtu.lane.CollisionException
All Implemented Interfaces:
Serializable

public class CollisionException extends RuntimeException
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 Details

    • CollisionException

      public CollisionException()
    • CollisionException

      public CollisionException(String message)
      Parameters:
      message - String; String
    • CollisionException

      public CollisionException(Throwable cause)
      Parameters:
      cause - Throwable; Throwable
    • CollisionException

      public CollisionException(String message, Throwable cause)
      Parameters:
      message - String; String
      cause - Throwable; Throwable
    • CollisionException

      public CollisionException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      Parameters:
      message - String; description of the problem
      cause - Throwable; the cause of this Exception
      enableSuppression - boolean; whether or not suppression is enabled or disabled
      writableStackTrace - boolean; whether or not the stack trace should be writable