Class RetryException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.core.retry.RetryException
All Implemented Interfaces:
Serializable

public class RetryException extends Exception
Exception thrown when a RetryPolicy has been exhausted.
Since:
7.0
Author:
Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • RetryException

      public RetryException(String message)
      Create a new RetryException for the supplied message.
      Parameters:
      message - the detail message
    • RetryException

      public RetryException(String message, Throwable cause)
      Create a new RetryException for the supplied message and cause.
      Parameters:
      message - the detail message
      cause - the root cause