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 SummaryConstructorsConstructorDescriptionCreate 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 SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
InternalCalculationExceptionpublic 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.
- 
InternalCalculationExceptionCreate 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.
 
- 
InternalCalculationExceptionCreate 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
 
- 
InternalCalculationExceptionCreate 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 message
- cause- the cause of this exception to be thrown
 
 
-