Class XPathLookupException
The exception that is thrown when an error occurs during an XPath lookup.
public class XPathLookupException : WebDriverException, ISerializable
- Inheritance
-
XPathLookupException
- Implements
- Inherited Members
Constructors
XPathLookupException()
Initializes a new instance of the XPathLookupException class.
public XPathLookupException()
XPathLookupException(SerializationInfo, StreamingContext)
Initializes a new instance of the XPathLookupException class with serialized data.
protected XPathLookupException(SerializationInfo info, StreamingContext context)
Parameters
info
SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
StreamingContextThe StreamingContext that contains contextual information about the source or destination.
XPathLookupException(string)
Initializes a new instance of the XPathLookupException class with a specified error message.
public XPathLookupException(string message)
Parameters
message
stringThe message that describes the error.
XPathLookupException(string, Exception)
Initializes a new instance of the XPathLookupException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public XPathLookupException(string message, Exception innerException)