Class NotFoundException
The exception that is thrown when an item is not found.
public class NotFoundException : WebDriverException, ISerializable- Inheritance
- 
      
      
      
      NotFoundException
- Implements
- Derived
- Inherited Members
Constructors
NotFoundException()
Initializes a new instance of the NotFoundException class.
public NotFoundException()NotFoundException(SerializationInfo, StreamingContext)
Initializes a new instance of the NotFoundException class with serialized data.
protected NotFoundException(SerializationInfo info, StreamingContext context)Parameters
- infoSerializationInfo
- The SerializationInfo that holds the serialized object data about the exception being thrown. 
- contextStreamingContext
- The StreamingContext that contains contextual information about the source or destination. 
NotFoundException(string)
Initializes a new instance of the NotFoundException class with a specified error message.
public NotFoundException(string message)Parameters
- messagestring
- The message that describes the error. 
NotFoundException(string, Exception)
Initializes a new instance of the NotFoundException class with a specified error message and a reference to the inner exception that is the cause of this exception.
public NotFoundException(string message, Exception innerException)