
fitnesse.slim.test.ConstructorThrows Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fitnesse Show documentation
Show all versions of fitnesse Show documentation
The fully integrated standalone wiki, and acceptance testing framework.
package fitnesse.slim.test;
public class ConstructorThrows {
public ConstructorThrows(String message) {
if ("stop test".equals(message)) {
throw new StopTestException(message);
}
if ("stop suite".equals(message)) {
throw new StopSuiteException(message);
}
throw new RuntimeException(message);
}
}
class StopTestException extends RuntimeException {
public StopTestException(String message) {
super(message);
}
}
class StopSuiteException extends RuntimeException {
public StopSuiteException(String message) {
super(message);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy