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
public class GTUException extends 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(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
-