| 1 | |
package org.jbehave.core.io; |
| 2 | |
|
| 3 | |
import java.util.List; |
| 4 | |
|
| 5 | |
|
| 6 | |
|
| 7 | |
|
| 8 | |
@SuppressWarnings("serial") |
| 9 | |
public class StoryResourceNotFound extends RuntimeException { |
| 10 | |
|
| 11 | |
public StoryResourceNotFound(String storyPath, ClassLoader classLoader) { |
| 12 | 1 | super("Story path '" + storyPath + "' not found by class loader " + classLoader); |
| 13 | 1 | } |
| 14 | |
|
| 15 | |
public StoryResourceNotFound(String storyPath, List<String> traversalPaths) { |
| 16 | 2 | super("Story path '" + storyPath + "' not found while looking in '" + traversalPaths + "'"); |
| 17 | 2 | } |
| 18 | |
|
| 19 | |
} |