public enum ServerError extends Enum<ServerError>
| Modifier and Type | Field and Description |
|---|---|
static int |
AuthenticationError_VALUE |
static int |
AuthorizationError_VALUE |
static int |
ChecksumError_VALUE |
static int |
ConsumerAssignError_VALUE |
static int |
ConsumerBusy_VALUE |
static int |
ConsumerNotFound_VALUE |
static int |
IncompatibleSchema_VALUE |
static int |
InvalidTopicName_VALUE |
static int |
InvalidTxnStatus_VALUE |
static int |
MetadataError_VALUE |
static int |
NotAllowedError_VALUE |
static int |
PersistenceError_VALUE |
static int |
ProducerBlockedQuotaExceededError_VALUE |
static int |
ProducerBlockedQuotaExceededException_VALUE |
static int |
ProducerBusy_VALUE |
static int |
ProducerFenced_VALUE |
static int |
ServiceNotReady_VALUE |
static int |
SubscriptionNotFound_VALUE |
static int |
TooManyRequests_VALUE |
static int |
TopicNotFound_VALUE |
static int |
TopicTerminatedError_VALUE |
static int |
TransactionConflict_VALUE |
static int |
TransactionCoordinatorNotFound_VALUE |
static int |
TransactionNotFound_VALUE |
static int |
UnknownError_VALUE |
static int |
UnsupportedVersionError_VALUE |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static ServerError |
valueOf(int n) |
static ServerError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerError UnknownError
public static final ServerError MetadataError
public static final ServerError PersistenceError
public static final ServerError AuthenticationError
public static final ServerError AuthorizationError
public static final ServerError ConsumerBusy
public static final ServerError ServiceNotReady
public static final ServerError ProducerBlockedQuotaExceededError
public static final ServerError ProducerBlockedQuotaExceededException
public static final ServerError ChecksumError
public static final ServerError UnsupportedVersionError
public static final ServerError TopicNotFound
public static final ServerError SubscriptionNotFound
public static final ServerError ConsumerNotFound
public static final ServerError TooManyRequests
public static final ServerError TopicTerminatedError
public static final ServerError ProducerBusy
public static final ServerError InvalidTopicName
public static final ServerError IncompatibleSchema
public static final ServerError ConsumerAssignError
public static final ServerError TransactionCoordinatorNotFound
public static final ServerError InvalidTxnStatus
public static final ServerError NotAllowedError
public static final ServerError TransactionConflict
public static final ServerError TransactionNotFound
public static final ServerError ProducerFenced
public static final int UnknownError_VALUE
public static final int MetadataError_VALUE
public static final int PersistenceError_VALUE
public static final int AuthenticationError_VALUE
public static final int AuthorizationError_VALUE
public static final int ConsumerBusy_VALUE
public static final int ServiceNotReady_VALUE
public static final int ProducerBlockedQuotaExceededError_VALUE
public static final int ProducerBlockedQuotaExceededException_VALUE
public static final int ChecksumError_VALUE
public static final int UnsupportedVersionError_VALUE
public static final int TopicNotFound_VALUE
public static final int SubscriptionNotFound_VALUE
public static final int ConsumerNotFound_VALUE
public static final int TooManyRequests_VALUE
public static final int TopicTerminatedError_VALUE
public static final int ProducerBusy_VALUE
public static final int InvalidTopicName_VALUE
public static final int IncompatibleSchema_VALUE
public static final int ConsumerAssignError_VALUE
public static final int TransactionCoordinatorNotFound_VALUE
public static final int InvalidTxnStatus_VALUE
public static final int NotAllowedError_VALUE
public static final int TransactionConflict_VALUE
public static final int TransactionNotFound_VALUE
public static final int ProducerFenced_VALUE
public static ServerError[] values()
for (ServerError c : ServerError.values()) System.out.println(c);
public static ServerError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static ServerError valueOf(int n)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.