Namespace: OpenQA.Selenium.Support.UIAssembly: WebDriver.Support (in WebDriver.Support.dll) Version: 2.35.0.0 (2.35.0.0)
protected virtual void ThrowTimeoutException(
string exceptionMessage,
Exception lastException
)
protected virtual void ThrowTimeoutException(
string exceptionMessage,
Exception lastException
)
Protected Overridable Sub ThrowTimeoutException ( _
exceptionMessage As String, _
lastException As Exception _
)
Protected Overridable Sub ThrowTimeoutException ( _
exceptionMessage As String, _
lastException As Exception _
)
protected:
virtual void ThrowTimeoutException(
String^ exceptionMessage,
Exception^ lastException
)
protected:
virtual void ThrowTimeoutException(
String^ exceptionMessage,
Exception^ lastException
)
Parameters
- exceptionMessage
- Type:
System String
The message of the exception.
- lastException
- Type:
System Exception
The last exception thrown by the condition.
This method may be overridden to throw an exception that is
idiomatic for a particular test infrastructure.