minor tweak

This commit is contained in:
Colin Goodheart-Smithe 2017-11-24 17:29:38 +00:00
parent 9e891de777
commit 26ad2142d5
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ public abstract class MockIndexLifecycleContext implements IndexLifecycleContext
private final String targetName;
private String phase;
private String action;
private RuntimeException exceptionToThrow;
private Exception exceptionToThrow;
public MockIndexLifecycleContext(String targetName, String initialPhase, String initialAction) {
this.targetName = targetName;
@ -18,7 +18,7 @@ public abstract class MockIndexLifecycleContext implements IndexLifecycleContext
this.action = initialAction;
}
public void failOnSetters(RuntimeException exceptionToThrow) {
public void failOnSetters(Exception exceptionToThrow) {
this.exceptionToThrow = exceptionToThrow;
}