Package org.opentrafficsim.core.gtu
Class MissingComponentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.opentrafficsim.base.OtsException
org.opentrafficsim.core.gtu.GtuException
org.opentrafficsim.core.gtu.MissingComponentException
- All Implemented Interfaces:
Serializable
Thrown when a model component is missing, or when the correct implementation is missing. These situations cannot always be
checked beforehand, as certain model assume surrounding GTUs to have model components, and possibly of a certain
implementation.
Copyright (c) 2024-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, Wouter Schakel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionMissingComponentException
(String message) Constructor with message.MissingComponentException
(String message, Throwable cause) Constructor with message and throwable cause.Constructor with 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
-
MissingComponentException
public MissingComponentException() -
MissingComponentException
Constructor with message.- Parameters:
message
- message
-
MissingComponentException
Constructor with throwable cause.- Parameters:
cause
- cause
-
MissingComponentException
Constructor with message and throwable cause.- Parameters:
message
- messagecause
- cause
-