Skip to content

Commit

Permalink
Rephrase Javadoc for RetryContext.getLastThrowable()
Browse files Browse the repository at this point in the history
  • Loading branch information
szpak committed Jul 24, 2024
1 parent b8e75f7 commit 67996be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/springframework/retry/RetryContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ public interface RetryContext extends AttributeAccessor {
/**
* Accessor for the exception object that caused the current retry.
* @return the last exception that caused a retry, or possibly null. It will be null
* if this is the first attempt, but also if the enclosing policy decides not to
* provide it (e.g. because of concerns about memory usage).
* if this is the first attempt and it finishes successfully, but also if the enclosing
* policy decides not to provide it (e.g. because of concerns about memory usage).
*/
@Nullable
Throwable getLastThrowable();
Expand Down

0 comments on commit 67996be

Please sign in to comment.