at.willhaben.willtest.rule.PageContentException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core classes with as few dependencies as possible
package at.willhaben.willtest.rule;
/**
* An exception, which contains the page content of the browser at the time of the test error. Will be used
* probably to retry a test based on the page content. See {@link Retry} for details.
*/
@Deprecated
public class PageContentException extends Exception {
private static final long serialVersionUID = -2549945920794470230L;
private final String pageContent;
public PageContentException(String pageContent) {
super("This is just an exception transporting page source along with the containing exception. " +
"Page content will be probably used to decide if the test will be retried.");
this.pageContent = pageContent;
}
public String getPageContent() {
return pageContent;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy