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 Details

    • CannotFitCurveException

      public CannotFitCurveException(nz.org.riskscape.problem.Problem reason)