Package org.apache.kafka.common.errors
Class TopicAuthorizationException
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.AuthorizationException
org.apache.kafka.common.errors.TopicAuthorizationException
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionTopicAuthorizationException(String message) TopicAuthorizationException(String message, Set<String> unauthorizedTopics) TopicAuthorizationException(Set<String> unauthorizedTopics) 
- 
Method SummaryModifier and TypeMethodDescriptionGet the set of topics which failed authorization.Methods inherited from class org.apache.kafka.common.errors.ApiExceptionfillInStackTraceMethods inherited from class java.lang.ThrowableaddSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
TopicAuthorizationException
- 
TopicAuthorizationException
- 
TopicAuthorizationException
 
- 
- 
Method Details- 
unauthorizedTopicsGet the set of topics which failed authorization. May be empty if the set is not known in the context the exception was raised in.- Returns:
- possibly empty set of unauthorized topics
 
 
-