1public class ExtendedEmbedder extends SerenityReportingEmbedder {2 private final static Logger LOG = LoggerFactory.getLogger(ExtendedEmbedder.class);3 public void runStoriesAsPaths(List<String> storyPaths) {4 try {5 super.runStoriesAsPaths(storyPaths);6 } catch (Throwable e) {7 LOG.error("Error in ExtendedEmbedder", e);8 }9 }10 public void runStoriesWithResults(String storyPath, StoryReporterBuilder storyReporterBuilder, MetaFilter filter) {11 try {12 super.runStoriesWithResults(storyPath, storyReporterBuilder, filter);13 } catch (Throwable e) {14 LOG.error("Error in ExtendedEmbedder", e);15 }16 }17 protected void runStoriesWithResults(List<String> storyPaths, StoryReporterBuilder storyReporterBuilder, MetaFilter filter) {18 try {19 super.runStoriesWithResults(storyPaths, storyReporterBuilder, filter);20 } catch (Throwable e) {21 LOG.error("Error in ExtendedEmbedder", e);22 }23 }24 public void generateReportsView() {25 try {26 super.generateReportsView();27 } catch (Throwable e) {28 LOG.error("Error in ExtendedEmbedder", e);29 }30 }31 protected void generateReportsViewFor(List<Story> stories, StoryReporterBuilder storyReporterBuilder, MetaFilter filter) {32 try {33 super.generateReportsViewFor(stories, storyReporterBuilder, filter);34 } catch (Throwable e) {35 LOG.error("Error in ExtendedEmbedder", e);36 }37 }38 protected void generateReportsViewFor(List<Story> stories, StoryReporterBuilder storyReporterBuilder, MetaFilter filter, StoryControls storyControls, StoryParser storyParser) {39 try {40 super.generateReportsViewFor(stories, storyReporterBuilder, filter, storyControls, storyParser);41 } catch (Throwable e) {42 LOG.error("Error in ExtendedEmbedder", e);43 }44 }45 public void run() {46 try {47 super.run();48 } catch (Throwable e) {49 LOG.error("Error in ExtendedEmbedder", e);50 }51 }