Fix some issues from last commit

This commit is contained in:
dsyer
2010-01-14 13:05:43 +00:00
parent 5c8f527443
commit 56dafae8f1
6 changed files with 9 additions and 4 deletions

View File

@@ -207,8 +207,8 @@ public class SimpleJobLauncherTests {
run(ExitStatus.FAILED);
fail("Expected Error");
}
catch (RuntimeException e) {
assertEquals("foo", e.getCause().getMessage());
catch (Error e) {
assertEquals("foo", e.getMessage());
}
}