Table of Contents

Class InsecureCertificateException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

The exception that is thrown when an insecure certificate is used.

[Serializable]
public class InsecureCertificateException : WebDriverException, ISerializable
Inheritance
InsecureCertificateException
Implements
Inherited Members

Constructors

InsecureCertificateException()

Initializes a new instance of the InsecureCertificateException class.

public InsecureCertificateException()

InsecureCertificateException(string?)

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

public InsecureCertificateException(string? message)

Parameters

message string

The message that describes the error.

InsecureCertificateException(string?, Exception?)

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

public InsecureCertificateException(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 null if no inner exception is specified.