Class RetryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.springframework.core.retry.RetryException
- All Implemented Interfaces:
Serializable
Exception thrown when a
RetryPolicy has been exhausted.- Since:
- 7.0
- Author:
- Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRetryException(String message) Create a newRetryExceptionfor the supplied message.RetryException(String message, Throwable cause) Create a newRetryExceptionfor the supplied message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RetryException
Create a newRetryExceptionfor the supplied message.- Parameters:
message- the detail message
-
RetryException
-