public class WidgetRuntimeException extends Exception
Widget
interface methods to propagate a
RuntimeException
.Constructor and Description |
---|
WidgetRuntimeException(String message,
org.openqa.selenium.By locator)
Constructs a
WidgetRuntimeException with the specified detail
message and the element locator being used when the Exception was
thrown. |
WidgetRuntimeException(String message,
String locator)
Constructs a
WidgetRuntimeException with the specified detail
message and the element locator being used when the Exception was
thrown. |
WidgetRuntimeException(String message,
String locator,
Exception cause)
Constructs a
WidgetRuntimeException with the specified detail
message, the element locator being used when the Exception was
thrown, and the Exception serving as the underlying cause for
this WidgetRuntimeException being thrown. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WidgetRuntimeException(String message, String locator)
WidgetRuntimeException
with the specified detail
message and the element locator being used when the Exception
was
thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
thrownpublic WidgetRuntimeException(String message, org.openqa.selenium.By locator)
WidgetRuntimeException
with the specified detail
message and the element locator being used when the Exception
was
thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
thrownpublic WidgetRuntimeException(String message, String locator, Exception cause)
WidgetRuntimeException
with the specified detail
message, the element locator being used when the Exception
was
thrown, and the Exception
serving as the underlying cause for
this WidgetRuntimeException
being thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
throwncause
- the underlying cause for this WidgetRuntimeException
being thrownCopyright © 2018. All rights reserved.