001 package org.junit; 002 003 /** 004 * Indicates that a test that indicated that it should be skipped could not be skipped. 005 * This can be thrown if a test uses the methods in {@link Assume} to indicate that 006 * it should be skipped, but before processing of the test was completed, other failures 007 * occured. 008 * 009 * @see org.junit.Assume 010 * @since 4.13 011 */ 012 public class TestCouldNotBeSkippedException extends RuntimeException { 013 private static final long serialVersionUID = 1L; 014 015 /** Creates an instance using the given assumption failure. */ 016 public TestCouldNotBeSkippedException(org.junit.internal.AssumptionViolatedException cause) { 017 super("Test could not be skipped due to other failures", cause); 018 } 019 }