Table of Contents

Class InvalidDataValueException

Namespace
AiDotNet.Exceptions
Assembly
AiDotNet.dll

Exception thrown when input data contains invalid values such as NaN or infinity.

public class InvalidDataValueException : AiDotNetException, ISerializable
Inheritance
InvalidDataValueException
Implements
Inherited Members

Constructors

InvalidDataValueException()

Creates a new instance of the InvalidDataValueException class.

public InvalidDataValueException()

InvalidDataValueException(string)

Creates a new instance of the InvalidDataValueException class with a specified error message.

public InvalidDataValueException(string message)

Parameters

message string

The message that describes the error.

InvalidDataValueException(string, Exception)

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

public InvalidDataValueException(string message, Exception innerException)

Parameters

message string

The message that describes the error.

innerException Exception

The exception that is the cause of the current exception.

InvalidDataValueException(string, string, string)

Creates a new instance of the InvalidDataValueException class with a specified error message and context information about where the exception occurred.

public InvalidDataValueException(string message, string component, string operation)

Parameters

message string

The message that describes the error.

component string

The component where the invalid data was detected.

operation string

The operation being performed when the invalid data was detected.

InvalidDataValueException(string, string, string, Exception)

Creates a new instance of the InvalidDataValueException class with a specified error message, context information, and a reference to the inner exception.

public InvalidDataValueException(string message, string component, string operation, Exception innerException)

Parameters

message string

The message that describes the error.

component string

The component where the invalid data was detected.

operation string

The operation being performed when the invalid data was detected.

innerException Exception

The exception that is the cause of the current exception.

Properties

Component

The component where the invalid data was detected.

public string Component { get; }

Property Value

string

Operation

The operation being performed when the invalid data was detected.

public string Operation { get; }

Property Value

string