Package org.opentrafficsim.base.geometry
Class OtsGeometryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.opentrafficsim.base.OtsRuntimeException
org.opentrafficsim.base.geometry.OtsGeometryException
- All Implemented Interfaces:
Serializable
Exception when geometry is incorrectly specified or an operation is requested that is not possible.
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, Wouter Schakel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionEmpty constructor.OtsGeometryException
(String message) Constructor with message.OtsGeometryException
(String message, Throwable cause) Constructor with message and cause.OtsGeometryException
(Throwable cause) Constructor with 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
-
OtsGeometryException
public OtsGeometryException()Empty constructor. -
OtsGeometryException
Constructor with message.- Parameters:
message
- message to display for this exception.
-
OtsGeometryException
Constructor with cause.- Parameters:
cause
- the exception that triggered this exception.
-
OtsGeometryException
Constructor with message and cause.- Parameters:
message
- message to display for this exception.cause
- the exception that triggered this exception.
-