Class TrafficControlException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.trafficcontrol.TrafficControlException
All Implemented Interfaces:
java.io.Serializable

public class TrafficControlException
extends java.lang.Exception
Exceptions thrown by traffic control programs.

Copyright (c) 2013-2019 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.

Version:
$Revision$, $LastChangedDate$, by $Author$, initial version Nov 16, 2016
Author:
Alexander Verbraeck, Peter Knoppers, Wouter Schakel
See Also:
Serialized Form
  • Constructor Summary

    Constructors 
    Constructor Description
    TrafficControlException()  
    TrafficControlException​(java.lang.String message)  
    TrafficControlException​(java.lang.String message, java.lang.Throwable cause)  
    TrafficControlException​(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)  
    TrafficControlException​(java.lang.Throwable cause)  
  • Method Summary

    Methods inherited from class java.lang.Throwable

    addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • TrafficControlException

      public TrafficControlException()
    • TrafficControlException

      public TrafficControlException​(java.lang.String message)
      Parameters:
      message - String; String
    • TrafficControlException

      public TrafficControlException​(java.lang.Throwable cause)
      Parameters:
      cause - Throwable; Throwable
    • TrafficControlException

      public TrafficControlException​(java.lang.String message, java.lang.Throwable cause)
      Parameters:
      message - String; String
      cause - Throwable; Throwable
    • TrafficControlException

      public TrafficControlException​(java.lang.String message, java.lang.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