• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package org.junit.internal.runners.statements;
2 
3 import org.junit.runners.model.Statement;
4 
5 
6 public class Fail extends Statement {
7 	private final Throwable fError;
8 
Fail(Throwable e)9 	public Fail(Throwable e) {
10 		fError= e;
11 	}
12 
13 	@Override
evaluate()14 	public void evaluate() throws Throwable {
15 		throw fError;
16 	}
17 }
18