OPEN - issue BATCH-777: Parametrise RetryCallback and related interfaces

Remove unused Exception throws clauses
This commit is contained in:
dsyer
2008-08-26 07:10:43 +00:00
parent c0c8fa111b
commit 99f3bd4c6b
7 changed files with 9 additions and 16 deletions

View File

@@ -23,7 +23,6 @@ import junit.framework.TestCase;
import org.springframework.batch.retry.RetryContext;
import org.springframework.batch.retry.RetryPolicy;
import org.springframework.batch.retry.TerminatedRetryException;
public class CompositeRetryPolicyTests extends TestCase {
@@ -63,7 +62,7 @@ public class CompositeRetryPolicyTests extends TestCase {
return !errorRegistered;
}
public void registerThrowable(RetryContext context, Exception throwable) throws TerminatedRetryException {
public void registerThrowable(RetryContext context, Exception throwable) {
errorRegistered = true;
}
} });