Class OtsRuntimeException

All Implemented Interfaces:
Serializable

public class OtsRuntimeException extends RuntimeException
OtsRuntimeException is a generic runtime exception for the OTS project. Runtime exceptions do ot have to be declared in the header of the method or constructor.

Copyright (c) 2022-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
See Also:
  • Constructor Details

    • OtsRuntimeException

      public OtsRuntimeException()
      Create an exception without a message.
    • OtsRuntimeException

      public OtsRuntimeException(String message)
      Create an exception with a message.
      Parameters:
      message - String; the message to include in the exception
    • OtsRuntimeException

      public OtsRuntimeException(Throwable cause)
      Create an exception with an underlying cause.
      Parameters:
      cause - Throwable; the underlying cause of the exception
    • OtsRuntimeException

      public OtsRuntimeException(String message, Throwable cause)
      Create an exception with an underlying cause and a message.
      Parameters:
      message - String; the message to include in the exception
      cause - Throwable; the underlying cause of the exception