Class InvalidCookieDomainException
The exception that is thrown when the users attempts to set a cookie with an invalid domain.
public class InvalidCookieDomainException : WebDriverException, ISerializable
- Inheritance
-
InvalidCookieDomainException
- Implements
- Inherited Members
Constructors
InvalidCookieDomainException()
Initializes a new instance of the InvalidCookieDomainException class.
public InvalidCookieDomainException()
InvalidCookieDomainException(SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidCookieDomainException class with serialized data.
protected InvalidCookieDomainException(SerializationInfo info, StreamingContext context)
Parameters
infoSerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
contextStreamingContextThe StreamingContext that contains contextual information about the source or destination.
InvalidCookieDomainException(string)
Initializes a new instance of the InvalidCookieDomainException class with a specified error message.
public InvalidCookieDomainException(string message)
Parameters
messagestringThe message that describes the error.
InvalidCookieDomainException(string, Exception)
Initializes a new instance of the InvalidCookieDomainException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public InvalidCookieDomainException(string message, Exception innerException)