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
public class TopicAuthorizationException extends AuthorizationException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopicAuthorizationException(String message)
TopicAuthorizationException(String message, Set<String> unauthorizedTopics)
TopicAuthorizationException(Set<String> unauthorizedTopics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
unauthorizedTopics()
Get the set of topics which failed authorization.-
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
-
-