| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| RestartingScenarioFailure |
|
| 1.0;1 |
| 1 | package org.jbehave.core.failures; | |
| 2 | ||
| 3 | /** | |
| 4 | * Runtime exception thrown to indicate that the scenario should be restarted. | |
| 5 | */ | |
| 6 | @SuppressWarnings("serial") | |
| 7 | public class RestartingScenarioFailure extends RuntimeException { | |
| 8 | ||
| 9 | public RestartingScenarioFailure(String message) { | |
| 10 | 19 | super(message); |
| 11 | 19 | } |
| 12 | ||
| 13 | public RestartingScenarioFailure(String message, Throwable cause) { | |
| 14 | 0 | super(message, cause); |
| 15 | 0 | } |
| 16 | ||
| 17 | } |