Class OtsException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.base.OtsException
All Implemented Interfaces:
Serializable

public class OtsException extends Exception
OtsException is a generic exception for the OTS project.

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
See Also:
  • Constructor Details

    • OtsException

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

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

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

      public OtsException(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