InvalidInputDimensionException

Exceptions · AiDotNet.Exceptions

Exception thrown when input data dimensions are invalid for a specific algorithm or operation.

Inheritance: Exception → AiDotNetException → InvalidInputDimensionException

Constructors

Constructor Summary
InvalidInputDimensionException() Creates a new instance of the InvalidInputDimensionException class.
InvalidInputDimensionException(string message) Creates a new instance of the InvalidInputDimensionException class with a specified error message.
InvalidInputDimensionException(string message, Exception innerException) Creates a new instance of the InvalidInputDimensionException class with a specified error message and a reference to the inner exception that is the cause of this exception.
InvalidInputDimensionException(string message, string component, string operation) Creates a new instance of the InvalidInputDimensionException class with a specified error message and context information about where the exception occurred.
InvalidInputDimensionException(string message, string component, string operation, Exception innerException) Creates a new instance of the InvalidInputDimensionException 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 dimension mismatch occurred.
string Operation { get; } The operation being performed when the mismatch was detected.