Class OTSSimulationException

  • All Implemented Interfaces:
    java.io.Serializable

    public class OTSSimulationException
    extends java.lang.Exception
    Exception for the operational plan, e.g. when a request is given outside the plan's validity.

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

    $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $, initial version Dec 23, 2015
    Author:
    Alexander Verbraeck, Peter Knoppers
    See Also:
    Serialized Form
    • 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 Detail

      • OTSSimulationException

        public OTSSimulationException()
        Construct an operational plan exception.
      • OTSSimulationException

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

        public OTSSimulationException​(java.lang.Throwable cause)
        Parameters:
        cause - Throwable; exception that triggered this exception
      • OTSSimulationException

        public OTSSimulationException​(java.lang.String message,
                                      java.lang.Throwable cause)
        Parameters:
        message - String; exception message
        cause - Throwable; exception that triggered this exception
      • OTSSimulationException

        public OTSSimulationException​(java.lang.String message,
                                      java.lang.Throwable cause,
                                      boolean enableSuppression,
                                      boolean writableStackTrace)
        Parameters:
        message - String; exception message
        cause - Throwable; exception that triggered this exception
        enableSuppression - boolean; whether or not suppression is enabled or disabled
        writableStackTrace - boolean; whether or not the stack trace should be writable