diff --git a/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java b/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java index e8fd3c7..41e189d 100644 --- a/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java +++ b/src/main/java/org/springframework/retry/policy/SimpleRetryPolicy.java @@ -92,7 +92,8 @@ public class SimpleRetryPolicy implements RetryPolicy { * @param maxAttempts the maximum number of attempts * @param retryableExceptions the map of exceptions that are retryable based on the * map value (true/false). - * @param traverseCauses is this clause traversable + * @param traverseCauses true to traverse the exception cause chain until a classified + * exception is found or the root cause is reached. */ public SimpleRetryPolicy(int maxAttempts, Map, Boolean> retryableExceptions, boolean traverseCauses) { @@ -108,7 +109,8 @@ public class SimpleRetryPolicy implements RetryPolicy { * @param maxAttempts the maximum number of attempts * @param retryableExceptions the map of exceptions that are retryable based on the * map value (true/false). - * @param traverseCauses is this clause traversable + * @param traverseCauses true to traverse the exception cause chain until a classified + * exception is found or the root cause is reached. * @param defaultValue the default action. */ public SimpleRetryPolicy(int maxAttempts, Map, Boolean> retryableExceptions,