Class ResilientException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.teceli.resiliencia.core.api.ResilientException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
BulkheadFullException,CircuitBreakerOpenException,InvalidPolicyException,RateLimiterException,ResilientTimeoutException,RetryExhaustedException,RetryInterruptedException,RetryRejectedException
Base exception for all resiliencia errors. Extends RuntimeException (unchecked).
Users can catch this for any library-related failure, or catch specific subtypes.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResilientException(String message) ResilientException(String message, Throwable 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
-
ResilientException
-
ResilientException
-