OtsGeometryException.java

package org.opentrafficsim.base.geometry;

import org.opentrafficsim.base.OtsRuntimeException;

/**
 * Exception when geometry is incorrectly specified or an operation is requested that is not possible.
 * <p>
 * Copyright (c) 2013-2026 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
 * BSD-style license. See <a href="https://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
 * </p>
 * @author Alexander Verbraeck
 * @author Peter Knoppers
 * @author Wouter Schakel
 */
public class OtsGeometryException extends OtsRuntimeException
{

    /** Serialization version UID. */
    private static final long serialVersionUID = 20150722L;

    /**
     * Empty constructor.
     */
    public OtsGeometryException()
    {
    }

    /**
     * Constructor with message.
     * @param message message to display for this exception.
     */
    public OtsGeometryException(final String message)
    {
        super(message);
    }

    /**
     * Constructor with cause.
     * @param cause the exception that triggered this exception.
     */
    public OtsGeometryException(final Throwable cause)
    {
        super(cause);
    }

    /**
     * Constructor with message and cause.
     * @param message message to display for this exception.
     * @param cause the exception that triggered this exception.
     */
    public OtsGeometryException(final String message, final Throwable cause)
    {
        super(message, cause);
    }

}