Class GTUException

  • All Implemented Interfaces:
    Serializable

    public class GTUException
    extends Exception
    Exception thrown when GTU encounters a problem.

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

    Version:
    $Revision: 7012 $, $LastChangedDate: 2022-02-09 18:05:59 +0100 (Wed, 09 Feb 2022) $, by $Author: averbraeck $, initial version Aug 22, 2014
    Author:
    Alexander Verbraeck, Peter Knoppers
    See Also:
    Serialized Form
    • Constructor Detail

      • GTUException

        public GTUException()
      • GTUException

        public GTUException​(String message)
        Parameters:
        message - String; String
      • GTUException

        public GTUException​(Throwable cause)
        Parameters:
        cause - Throwable; Throwable
      • GTUException

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

        public GTUException​(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