Table of Contents

Class ValidationException

Namespace
Xping.Sdk.Validations
Assembly
Xping.Sdk.dll

Represents errors that occur during test execution when a validation step identifies discrepancies or a lack of correspondence between the actual server response and the expected value.

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

Constructors

ValidationException()

Initializes a new instance of the ValidationException class.

public ValidationException()

ValidationException(string?)

Initializes a new instance of the ValidationException class with a specified error message.

public ValidationException(string? message)

Parameters

message string

The message that describes the error.

ValidationException(string, Exception)

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

public ValidationException(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.