Package org.opentrafficsim.core.gtu
Class GtuException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.core.gtu.GtuException
- All Implemented Interfaces:
Serializable
Exception thrown when GTU encounters a problem.
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, Peter Knoppers
- See Also:
-
Constructor Summary
ConstructorDescriptionGtuException
(String message) GtuException
(String message, Throwable cause) GtuException
(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) GtuException
(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
GtuException
public GtuException() -
GtuException
- Parameters:
message
- String; String
-
GtuException
- Parameters:
cause
- Throwable; Throwable
-
GtuException
- Parameters:
message
- String; Stringcause
- Throwable; Throwable
-
GtuException
public GtuException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) - Parameters:
message
- String; description of the problemcause
- Throwable; the cause of this ExceptionenableSuppression
- boolean; whether or not suppression is enabled or disabledwritableStackTrace
- boolean; whether or not the stack trace should be writable
-