Incomplete - task 84: Fix samples

Fix rollback tests as well - exception handler too complicated
This commit is contained in:
dsyer
2008-02-26 15:16:02 +00:00
parent ee2c20f568
commit 55e35eac1c
7 changed files with 13 additions and 25 deletions

View File

@@ -55,7 +55,7 @@ public class SimpleLimitExceptionHandlerTests extends TestCase {
}
/**
* Other than TransactionInvalidException should be rethrown, ignoring the
* Other than nominated exception type should be rethrown, ignoring the
* exception limit.
*
* @throws Exception
@@ -65,6 +65,7 @@ public class SimpleLimitExceptionHandlerTests extends TestCase {
final int MORE_THAN_ZERO = 1;
handler.setLimit(MORE_THAN_ZERO);
handler.setType(IllegalArgumentException.class);
try {
handler.handleException(new RepeatContextSupport(null), throwable);