Package org.djutils.draw
Class InvalidProjectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.djutils.draw.InvalidProjectionException
- All Implemented Interfaces:
Serializable
InvalidProjectionException is an exception that is thrown when a projection results in an invalid object, or if a projection
cannot be carried out.
Copyright (c) 2020-2025 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See DJUTILS License.
- Author:
- Alexander Verbraeck, Peter Knoppers, Wouter Schakel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty runtime projection exception.InvalidProjectionException
(String message) Create a runtime projection exception with a custom message.InvalidProjectionException
(String message, Throwable cause) Create a runtime projection exception with a custom message and an underlying cause.Create a runtime projection exception with an underlying 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
-
InvalidProjectionException
public InvalidProjectionException()Create an empty runtime projection exception. -
InvalidProjectionException
Create a runtime projection exception with a custom message.- Parameters:
message
- the custom message.
-
InvalidProjectionException
Create a runtime projection exception with an underlying cause.- Parameters:
cause
- the cause of this exception to be thrown
-
InvalidProjectionException
Create a runtime projection exception with a custom message and an underlying cause.- Parameters:
message
- the custom messagecause
- the cause of this exception to be thrown
-