InvalidStoryResource.java

  1. package org.jbehave.core.io;

  2. /**
  3.  * Thrown when a story resource is not valid
  4.  */
  5. @SuppressWarnings("serial")
  6. public class InvalidStoryResource extends RuntimeException {

  7.     public InvalidStoryResource(String storyPath, Throwable cause) {
  8.         super("Invalid story resource for " + storyPath, cause);
  9.     }

  10. }