Package org.djutils.draw
Class InternalCalculationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.djutils.draw.InternalCalculationException
- All Implemented Interfaces:
Serializable
InternalCalculationException is an exception that is thrown when a a method fails during the construction of a drawable
object or during the calculation of a property of a drawable object.
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 calculation exception, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object.InternalCalculationException
(String message) Create a runtime calculation exception with a custom message, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object.InternalCalculationException
(String message, Throwable cause) Create a runtime calculation exception with a custom message and an underlying cause, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object.Create a runtime calculation exception with an underlying cause, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InternalCalculationException
public InternalCalculationException()Create an empty runtime calculation exception, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object. -
InternalCalculationException
Create a runtime calculation exception with a custom message, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object.- Parameters:
message
- the custom message.
-
InternalCalculationException
Create a runtime calculation exception with an underlying cause, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object.- Parameters:
cause
- the cause of this exception to be thrown
-
InternalCalculationException
Create a runtime calculation exception with a custom message and an underlying cause, indicating an error during the construction of a drawable object or during the calculation of a property of a drawable object.- Parameters:
message
- the custom messagecause
- the cause of this exception to be thrown
-