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:
java.io.Serializable
public class GroupAuthorizationException extends AuthorizationException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GroupAuthorizationException(java.lang.String message)
GroupAuthorizationException(java.lang.String message, java.lang.String groupId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GroupAuthorizationException
forGroupId(java.lang.String groupId)
java.lang.String
groupId()
Return the group ID that failed authorization.-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-
-
-
Method Detail
-
groupId
public java.lang.String groupId()
Return 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
public static GroupAuthorizationException forGroupId(java.lang.String groupId)
-
-