Package org.apache.kafka.common.errors
Class GroupAuthorizationException
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.GroupAuthorizationException
- All Implemented Interfaces:
- Serializable
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionGroupAuthorizationException(String message) GroupAuthorizationException(String message, String groupId) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic GroupAuthorizationExceptionforGroupId(String groupId) groupId()Return the group ID that 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- 
GroupAuthorizationException
- 
GroupAuthorizationException
 
- 
- 
Method Details- 
groupIdReturn the group ID that failed authorization. May be null if it is not known in the context the exception was raised in.- Returns:
- nullable groupId
 
- 
forGroupId
 
-