All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.hsac.fitnesse.fixture.slim.web.TimeoutStopTestException Maven / Gradle / Ivy

package nl.hsac.fitnesse.fixture.slim.web;

import nl.hsac.fitnesse.fixture.slim.StopTestException;
import org.openqa.selenium.TimeoutException;

/**
 * Exception to indicate script should be stopped because of Selenium timeout.
 */
public class TimeoutStopTestException extends StopTestException {
    /**
     * Creates new.
     * @param message message for exception.
     * @param cause timeout exception thrown by Selenium.
     */
    public TimeoutStopTestException(String message, TimeoutException cause) {
        super(message, cause);
    }

    /**
     * Creates new.
     * @param stackTraceInWiki whether wiki should include the stack trace of this exception, or just the message
     * @param message message for exception.
     * @param cause timeout exception thrown by Selenium.
     */
    public TimeoutStopTestException(boolean stackTraceInWiki, String message, TimeoutException cause) {
        super(stackTraceInWiki, message, cause);
    }

    /**
     * Creates new.
     * @param cause timeout exception thrown by Selenium.
     */
    public TimeoutStopTestException(TimeoutException cause) {
        super(cause);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy