Table of Contents

Class UnableToSetCookieException

Namespace
OpenQA.Selenium
Assembly
WebDriver.dll

The exception that is thrown when the user is unable to set a cookie.

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

Constructors

UnableToSetCookieException()

Initializes a new instance of the UnableToSetCookieException class.

public UnableToSetCookieException()

UnableToSetCookieException(string?)

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

public UnableToSetCookieException(string? message)

Parameters

message string

The message that describes the error.

UnableToSetCookieException(string?, Exception?)

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

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