Package org.apache.kafka.common.metrics
Class QuotaViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.metrics.QuotaViolationException
- All Implemented Interfaces:
Serializable
Thrown when a sensor records a value that causes a metric to go outside the bounds configured as its quota
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
QuotaViolationException
-
-
Method Details
-
metric
-
value
public double value() -
bound
public double bound() -
toString
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-