package com.srbenoit.math.solvers;

/**
 * An exception thrown when a solver fails to find a solution.
 */
public class SolverFailedException extends Exception {

    /** version number for serialization */
    private static final long serialVersionUID = 587807358367525183L;

    /**
     * Constructs a new <code>SolverFailedException</code>.
     *
     * @param  message  the message
     */
    public SolverFailedException(final String message) {

        super(message);
    }

    /**
     * Constructs a new <code>SolverFailedException</code>.
     *
     * @param  message  the message
     * @param  cause    the exception that caused the solver to fail
     */
    public SolverFailedException(final String message, final Throwable cause) {

        super(message, cause);
    }
}
