Namespace:
Extreme.Mathematics.Algorithms
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
protected virtual void ThrowConvergenceException()
Protected Overridable Sub ThrowConvergenceException
protected:
virtual void ThrowConvergenceException()
abstract ThrowConvergenceException : unit -> unit
override ThrowConvergenceException : unit -> unit
This method is called by
SetResult(T, TError, AlgorithmStatus, Int32) when the algorithm failed and the
ThrowExceptionOnFailure property is set
to true. It interprets the AlgorithmStatus
and throws a ConvergenceException with
an appropriate message text.
Inheritors may override this method
and substitute more specific exception messages. The base
implementation should always be called for codes that
are not handled by the overriding method.
You should avoid calling this method directly. Instead,
call the SetResult(T, TError, AlgorithmStatus, Int32) method with the appropriate
parameters.
Reference