All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.finmath.optimizer.SolverException Maven / Gradle / Ivy

Go to download

finmath lib is a Mathematical Finance Library in Java. It provides algorithms and methodologies related to mathematical finance.

There is a newer version: 6.0.19
Show newest version
/*
 * (c) Copyright Christian P. Fries, Germany. Contact: [email protected].
 *
 * Created on 21.06.2008
 */
package net.finmath.optimizer;

/**
 * Exception thrown by solvers {@link net.finmath.rootfinder} or {@link net.finmath.optimizer}.
 *
 * @author Christian Fries
 * @version 1.0
 */
public class SolverException extends Exception {

	private static final long serialVersionUID = 7123998462171729835L;

	/**
	 * Create an exception with error message.
	 *
	 * @param message The error message.
	 */
	public SolverException(final String message) {
		super(message);
	}

	/**
	 * Create an exception from another exception.
	 *
	 * @param cause The cause.
	 */
	public SolverException(final Throwable cause) {
		super(cause);
	}

	/**
	 * Create an exception from another exception with error message.
	 *
	 * @param message The error message.
	 * @param cause The cause.
	 */
	public SolverException(final String message, final Throwable cause) {
		super(message, cause);
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy