aboutsummaryrefslogtreecommitdiff
path: root/src/org/junit/runner/notification/StoppedByUserException.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/junit/runner/notification/StoppedByUserException.java')
-rw-r--r--src/org/junit/runner/notification/StoppedByUserException.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/org/junit/runner/notification/StoppedByUserException.java b/src/org/junit/runner/notification/StoppedByUserException.java
new file mode 100644
index 0000000..89be3ba
--- /dev/null
+++ b/src/org/junit/runner/notification/StoppedByUserException.java
@@ -0,0 +1,11 @@
+package org.junit.runner.notification;
+
+/**
+ * Thrown when a user has requested that the test run stop. Writers of
+ * test running GUIs should be prepared to catch a <code>StoppedByUserException</code>.
+ *
+ * @see org.junit.runner.notification.RunNotifier
+ */
+public class StoppedByUserException extends RuntimeException {
+ private static final long serialVersionUID= 1L;
+}