InvalidDataValueException

Exceptions · AiDotNet.Exceptions

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

Inheritance: Exception → AiDotNetException → InvalidDataValueException

Constructors

Constructor Summary
InvalidDataValueException() Creates a new instance of the InvalidDataValueException class.
InvalidDataValueException(string message) Creates a new instance of the InvalidDataValueException class with a specified error message.
InvalidDataValueException(string message, Exception innerException) 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.
InvalidDataValueException(string message, string component, string operation) Creates a new instance of the InvalidDataValueException class with a specified error message and context information about where the exception occurred.
InvalidDataValueException(string message, string component, string operation, Exception innerException) Creates a new instance of the InvalidDataValueException class with a specified error message, context information, and a reference to the inner exception.

Properties

Property Summary
string Component { get; } The component where the invalid data was detected.
string Operation { get; } The operation being performed when the invalid data was detected.