Table of Contents

Class CostFunctionException

Namespace
SignalSharp.CostFunctions.Exceptions
Assembly
SignalSharp.dll

Represents an exception that occurred during cost function calculation or fitting.

public class CostFunctionException : Exception, ISerializable
Inheritance
CostFunctionException
Implements
Inherited Members

Constructors

CostFunctionException(string?)

Initializes a new instance of the CostFunctionException class.

public CostFunctionException(string? message)

Parameters

message string

The message that describes the error.

CostFunctionException(string?, Exception?)

Initializes a new instance of the CostFunctionException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public CostFunctionException(string? message, Exception? innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or a null reference if no inner exception is specified.