| 1 | |
package org.jbehave.core.io; |
| 2 | |
|
| 3 | |
import java.io.InputStream; |
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
@SuppressWarnings("serial") |
| 9 | |
public class InvalidStoryResource extends RuntimeException { |
| 10 | |
|
| 11 | |
public InvalidStoryResource(String storyPath, Throwable cause) { |
| 12 | 2 | super("Invalid story resource for " + storyPath, cause); |
| 13 | 2 | } |
| 14 | |
|
| 15 | |
public InvalidStoryResource(String storyPath, InputStream stream, |
| 16 | |
Throwable cause) { |
| 17 | 1 | super("Invalid story resource for " + storyPath + " from input stream " + stream, cause); |
| 18 | 1 | } |
| 19 | |
|
| 20 | |
} |