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:
java.io.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(java.lang.String message)
PolicyViolationException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-