Class TopicAuthorizationException

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Set<java.lang.String> unauthorizedTopics()
      Get the set of topics which failed authorization.
      • Methods inherited from class java.lang.Throwable

        addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • TopicAuthorizationException

        public TopicAuthorizationException​(java.lang.String message,
                                           java.util.Set<java.lang.String> unauthorizedTopics)
      • TopicAuthorizationException

        public TopicAuthorizationException​(java.util.Set<java.lang.String> unauthorizedTopics)
      • TopicAuthorizationException

        public TopicAuthorizationException​(java.lang.String message)
    • Method Detail

      • unauthorizedTopics

        public java.util.Set<java.lang.String> unauthorizedTopics()
        Get 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