Tidy up some javadocs

This commit is contained in:
Dave Syer
2016-02-10 09:34:06 +00:00
parent d0ac53c76e
commit c1ad693825
2 changed files with 13 additions and 10 deletions

View File

@@ -19,7 +19,10 @@ package org.springframework.retry;
/**
* Callback interface for an operation that can be retried using a
* {@link RetryOperations}.
*
*
* @param T the type of object returned by the callback
* @param E the type of exception it declares may be thrown
*
* @author Rob Harrop
* @author Dave Syer
*/
@@ -31,7 +34,7 @@ public interface RetryCallback<T, E extends Throwable> {
* semantics when an operation is retried.
* @param context the current retry context.
* @return the result of the successful operation.
* @throws Exception if processing fails
* @throws Throwable of type E if processing fails
*/
T doWithRetry(RetryContext context) throws E;
}