Package org.opentrafficsim.core.network
Class NetworkException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.opentrafficsim.core.network.NetworkException
-
- All Implemented Interfaces:
Serializable
public class NetworkException extends Exception
Exception thrown when network topology is inconsistent.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.$LastChangedDate: 2022-02-09 18:05:59 +0100 (Wed, 09 Feb 2022) $, @version $Revision: 7012 $, by $Author: averbraeck $, initial version Aug 22, 2014
- Author:
- Alexander Verbraeck, Peter Knoppers
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NetworkException()NetworkException(String message)NetworkException(String message, Throwable cause)NetworkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)NetworkException(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 Detail
-
NetworkException
public NetworkException()
-
NetworkException
public NetworkException(String message)
- Parameters:
message- String; String
-
NetworkException
public NetworkException(Throwable cause)
- Parameters:
cause- Throwable; Throwable
-
NetworkException
public NetworkException(String message, Throwable cause)
- Parameters:
message- String; Stringcause- Throwable; Throwable
-
NetworkException
public NetworkException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
- Parameters:
message- String; description of the problemcause- Throwable; the cause of this ValueRuntimeExceptionenableSuppression- boolean; whether or not suppression is enabled or disabledwritableStackTrace- boolean; whether or not the stack trace should be writable
-
-