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

nl.hsac.fitnesse.fixture.slim.StopTestException Maven / Gradle / Ivy

There is a newer version: 5.3.17
Show newest version
package nl.hsac.fitnesse.fixture.slim;

/**
 * Exception to indicate to SLIM test it occurs in should not be continued.
 * Especially useful for scripts/scenraios where there is no point to continue
 * if a certain problem occurs.
 */
public class StopTestException extends SlimFixtureException {

    /**
     * Creates new.
     * @param message message for exception.
     */
    public StopTestException(String message) {
        super(message);
    }

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

    /**
     * Creates new.
     * @param message message for exception.
     * @param cause underlying exception.
     */
    public StopTestException(String message, Throwable 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 underlying exception.
     */
    public StopTestException(boolean stackTraceInWiki, String message, Throwable cause) {
        super(stackTraceInWiki, message, cause);
    }

    /**
     * Creates new.
     * @param cause underlying exception.
     */
    public StopTestException(Throwable cause) {
        super(cause);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy