Class InvalidPolicyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.github.teceli.resiliencia.core.api.ResilientException
io.github.teceli.resiliencia.compose.InvalidPolicyException
- All Implemented Interfaces:
Serializable
Thrown when a Policy is constructed with an invalid configuration (e.g. no patterns).
The message describes the problem;
suggestedFix() describes how to resolve it.- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionA human-readable suggestion for how to fix the invalid configuration.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidPolicyException
-
-
Method Details
-
suggestedFix
A human-readable suggestion for how to fix the invalid configuration.
-