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

public class ResilientException extends RuntimeException
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 Details

    • ResilientException

      public ResilientException(String message)
    • ResilientException

      public ResilientException(String message, Throwable cause)