Package nz.org.riskscape.defaults.curves
Class CannotFitCurveException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
nz.org.riskscape.engine.RiskscapeException
nz.org.riskscape.defaults.curves.CannotFitCurveException
- All Implemented Interfaces:
Serializable
public class CannotFitCurveException
extends nz.org.riskscape.engine.RiskscapeException
Indicates that the input data is invalid for a given CurveFitter
.
Throwing an exception makes it clear that the requested CurveFitter is not
applicable, e.g. they've tried to fit a log curve to a zero value, but log(0)
is undefined.
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class nz.org.riskscape.engine.RiskscapeException
getCause, getProblem, hasProblem
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotFitCurveException
public CannotFitCurveException(nz.org.riskscape.problem.Problem reason)
-