##### Coverage Report - org.jbehave.core.io.InvalidStoryResource

Classes in this File | Line Coverage | Branch Coverage | Complexity
InvalidStoryResource |
100% | 4/4
N/A | N/A
| 1.0;1

1 |  |
     package org.jbehave.core.io;
2 |  |
3 |  |
     import java.io.InputStream;
4 |  |
5 |  |
     /**
6 |  |
      * Thrown when a story resource is not valid
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 |  |
     }