Class GTUException

  • All Implemented Interfaces:
    java.io.Serializable

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

    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.

    Version:
    $Revision: 6010 $, $LastChangedDate: 2020-01-23 11:14:19 +0100 (Thu, 23 Jan 2020) $, by $Author: averbraeck $, initial version Aug 22, 2014
    Author:
    Alexander Verbraeck, Peter Knoppers
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      GTUException()  
      GTUException​(java.lang.String message)  
      GTUException​(java.lang.String message, java.lang.Throwable cause)  
      GTUException​(java.lang.String message, java.lang.Throwable cause, boolean enableSuppression, boolean writableStackTrace)  
      GTUException​(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 Detail

      • GTUException

        public GTUException()
      • GTUException

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

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

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

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