Skip to content

Commit 67996be

Browse files
committed
Rephrase Javadoc for RetryContext.getLastThrowable()
1 parent b8e75f7 commit 67996be

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/springframework/retry/RetryContext.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ public interface RetryContext extends AttributeAccessor {
9999
/**
100100
* Accessor for the exception object that caused the current retry.
101101
* @return the last exception that caused a retry, or possibly null. It will be null
102-
* if this is the first attempt, but also if the enclosing policy decides not to
103-
* provide it (e.g. because of concerns about memory usage).
102+
* if this is the first attempt and it finishes successfully, but also if the enclosing
103+
* policy decides not to provide it (e.g. because of concerns about memory usage).
104104
*/
105105
@Nullable
106106
Throwable getLastThrowable();

0 commit comments

Comments
 (0)