Coverage Report - org.jbehave.core.io.StoryResourceNotFound
 
Classes in this File Line Coverage Branch Coverage Complexity
StoryResourceNotFound
100%
4/4
N/A
1
 
 1  
 package org.jbehave.core.io;
 2  
 
 3  
 import java.util.List;
 4  
 
 5  
 /**
 6  
  * Thrown when a story resource is not found
 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  
 }