Class DistributedCounterException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.synapse.commons.throttle.core.DistributedCounterException
All Implemented Interfaces:
Serializable

public class DistributedCounterException extends RuntimeException
Unchecked exception thrown by DistributedCounterManager operations. Carries a DistributedCounterException.Kind that classifies the failure so callers can make fine-grained decisions (retry strategy, log level, alert routing) without coupling the Synapse layer to any specific backing store or client library.

The convenience method isTransient() derives the transient/permanent split from DistributedCounterException.Kind, keeping existing callers compatible.

See Also: