OperationalPlanException.java

package org.opentrafficsim.core.gtu.plan.operational;


/**
 * Exception for the operational plan, e.g. when a request is given outside the plan's validity.
 * <p>
 * Copyright (c) 2013-2016 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved. <br>
 * BSD-style license. See <a href="http://opentrafficsim.org/docs/license.html">OpenTrafficSim License</a>.
 * </p>
 * $LastChangedDate: 2015-07-24 02:58:59 +0200 (Fri, 24 Jul 2015) $, @version $Revision: 1147 $, by $Author: averbraeck $,
 * initial version Dec 23, 2015 <br>
 * @author <a href="http://www.tbm.tudelft.nl/averbraeck">Alexander Verbraeck</a>
 * @author <a href="http://www.tudelft.nl/pknoppers">Peter Knoppers</a>
 */
public class OperationalPlanException extends Exception
{
    /** */
    private static final long serialVersionUID = 20151223L;

    /**
     * Construct an operational plan exception.
     */
    public OperationalPlanException()
    {
        super();
    }

    /**
     * @param message exception message
     */
    public OperationalPlanException(final String message)
    {
        super(message);
    }

    /**
     * @param cause exception that triggered this exception
     */
    public OperationalPlanException(final Throwable cause)
    {
        super(cause);
    }

    /**
     * @param message exception message
     * @param cause exception that triggered this exception
     */
    public OperationalPlanException(final String message, final Throwable cause)
    {
        super(message, cause);
    }

    /**
     * @param message exception message
     * @param cause exception that triggered this exception
     * @param enableSuppression whether or not suppression is enabled or disabled
     * @param writableStackTrace whether or not the stack trace should be writable
     */
    public OperationalPlanException(final String message, final Throwable cause, final boolean enableSuppression,
            final boolean writableStackTrace)
    {
        super(message, cause, enableSuppression, writableStackTrace);
    }
}