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
stringThe 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)