public class WidgetException extends Exception
Constructor and Description |
---|
WidgetException(String message,
org.openqa.selenium.By locator)
Constructs a
WidgetException with the specified detail message
and the locator of the element being used when the Exception was
thrown. |
WidgetException(String message,
org.openqa.selenium.By locator,
Exception cause)
Constructs a
WidgetException 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
WidgetException being thrown. |
WidgetException(String message,
String locator)
Constructs a
WidgetException with the specified detail message
and the locator of the element being used when the Exception was
thrown. |
WidgetException(String message,
String locator,
Exception cause)
Constructs a
WidgetException 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
WidgetException being thrown. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public WidgetException(String message, String locator)
WidgetException
with the specified detail message
and the locator of the element being used when the Exception
was
thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
thrownpublic WidgetException(String message, org.openqa.selenium.By locator)
WidgetException
with the specified detail message
and the locator of the element being used when the Exception
was
thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
thrownpublic WidgetException(String message, String locator, Exception cause)
WidgetException
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
WidgetException
being thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
throwncause
- the underlying cause for this Exception
being thrownpublic WidgetException(String message, org.openqa.selenium.By locator, Exception cause)
WidgetException
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
WidgetException
being thrown.message
- the detail messagelocator
- the element locator being used when the Exception
was
throwncause
- the underlying cause for this Exception
being thrownCopyright © 2018. All rights reserved.