Class IllegalLocatorException
The exception that is thrown when an attempt is made to locate an item using invalid criteria.
public class IllegalLocatorException : WebDriverException, ISerializable
- Inheritance
-
IllegalLocatorException
- Implements
- Inherited Members
Constructors
IllegalLocatorException()
Initializes a new instance of the IllegalLocatorException class.
public IllegalLocatorException()
IllegalLocatorException(SerializationInfo, StreamingContext)
Initializes a new instance of the IllegalLocatorException class with serialized data.
protected IllegalLocatorException(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.
IllegalLocatorException(string)
Initializes a new instance of the IllegalLocatorException class with a specified error message.
public IllegalLocatorException(string message)
Parameters
messagestringThe message that describes the error.
IllegalLocatorException(string, Exception)
Initializes a new instance of the IllegalLocatorException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public IllegalLocatorException(string message, Exception innerException)