Table of Contents

Class ValidationException

Namespace
FoundationaLLM.Common.Exceptions
Assembly
FoundationaLLM.Common.dll

Represents an error generated during validation.

public class ValidationException : Exception, ISerializable
Inheritance
ValidationException
Implements
Inherited Members
Extension Methods

Constructors

ValidationException()

Initializes a new instance of the ValidationException class with a default message.

public ValidationException()

ValidationException(string?)

Initializes a new instance of the ValidationException class with its message set to message.

public ValidationException(string? message)

Parameters

message string

A string that describes the error.

ValidationException(string?, Exception?)

Initializes a new instance of the ValidationException class with its message set to message.

public ValidationException(string? message, Exception? innerException)

Parameters

message string

A string that describes the error.

innerException Exception

The exception that is the cause of the current exception.