Package growthbook.sdk.java.exception
Class StickyBucketServiceException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
growthbook.sdk.java.exception.StickyBucketServiceException
- All Implemented Interfaces:
Serializable
Thrown when a configured
StickyBucketService backend
cannot be accessed or returns a payload that cannot be parsed.
Backends that talk to a network store (e.g. Redis) report genuine access failures by throwing
this exception rather than silently swallowing them. Whether such a failure should degrade to
fresh bucketing or abort the request is a policy decision for the caller, mirroring how
FeatureCacheException is handled at the repository layer.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionStickyBucketServiceException(String message) StickyBucketServiceException(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
-
StickyBucketServiceException
-
StickyBucketServiceException
-