org.djutils.draw.InternalCalculationException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of djutils-draw Show documentation
Show all versions of djutils-draw Show documentation
DJUTILS - Delft Java Utilities Drawing and animation primitives
The newest version!
package org.djutils.draw;
/**
* InternalCalculationException is a special type of DrawRuntimeException, that is thrown if a method fails during the
* construction of a drawable object or during the calculation of a property of a drawable object.
*
* Copyright (c) 2020-2024 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
* BSD-style license. See DJUTILS License.
*
* @author Alexander Verbraeck
* @author Peter Knoppers
*/
public class InternalCalculationException extends DrawRuntimeException
{
/** */
private static final long serialVersionUID = 20200828L;
/**
* Create an empty runtime drawing exception.
*/
public InternalCalculationException()
{
super();
}
/**
* Create a runtime drawing exception with a custom message.
* @param message String; the custom message.
*/
public InternalCalculationException(final String message)
{
super(message);
}
/**
* Create a runtime drawing exception with an underlying cause.
* @param cause Throwable; the cause of this exception to be thrown
*/
public InternalCalculationException(final Throwable cause)
{
super(cause);
}
/**
* Create a runtime drawing exception with a custom message and an underlying cause.
* @param message String; the custom message
* @param cause Throwable; the cause of this exception to be thrown
*/
public InternalCalculationException(final String message, final Throwable cause)
{
super(message, cause);
}
}