Package org.apache.kafka.common.errors
Class PolicyViolationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.ApiException
org.apache.kafka.common.errors.PolicyViolationException
- All Implemented Interfaces:
Serializable
public class PolicyViolationException extends ApiException
Exception thrown if a create topics request does not satisfy the configured policy for a topic.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description PolicyViolationException(String message)
PolicyViolationException(String message, Throwable cause)
-
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PolicyViolationException
-
PolicyViolationException
-