net.finmath.optimizer.SolverException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of finmath-lib Show documentation
Show all versions of finmath-lib Show documentation
finmath lib is a Mathematical Finance Library in Java.
It provides algorithms and methodologies related to mathematical finance.
/*
* (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);
}
}