Enum ServerError

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<ServerError>

    public enum ServerError
    extends java.lang.Enum<ServerError>
    • Enum Constant Detail

      • UnknownError

        public static final ServerError UnknownError
      • MetadataError

        public static final ServerError MetadataError
      • PersistenceError

        public static final ServerError PersistenceError
      • AuthenticationError

        public static final ServerError AuthenticationError
      • AuthorizationError

        public static final ServerError AuthorizationError
      • ConsumerBusy

        public static final ServerError ConsumerBusy
      • ServiceNotReady

        public static final ServerError ServiceNotReady
      • ProducerBlockedQuotaExceededError

        public static final ServerError ProducerBlockedQuotaExceededError
      • ProducerBlockedQuotaExceededException

        public static final ServerError ProducerBlockedQuotaExceededException
      • ChecksumError

        public static final ServerError ChecksumError
      • UnsupportedVersionError

        public static final ServerError UnsupportedVersionError
      • TopicNotFound

        public static final ServerError TopicNotFound
      • SubscriptionNotFound

        public static final ServerError SubscriptionNotFound
      • ConsumerNotFound

        public static final ServerError ConsumerNotFound
      • TooManyRequests

        public static final ServerError TooManyRequests
      • TopicTerminatedError

        public static final ServerError TopicTerminatedError
      • ProducerBusy

        public static final ServerError ProducerBusy
      • InvalidTopicName

        public static final ServerError InvalidTopicName
      • IncompatibleSchema

        public static final ServerError IncompatibleSchema
      • ConsumerAssignError

        public static final ServerError ConsumerAssignError
      • TransactionCoordinatorNotFound

        public static final ServerError TransactionCoordinatorNotFound
      • InvalidTxnStatus

        public static final ServerError InvalidTxnStatus
      • NotAllowedError

        public static final ServerError NotAllowedError
      • TransactionConflict

        public static final ServerError TransactionConflict
      • TransactionNotFound

        public static final ServerError TransactionNotFound
      • ProducerFenced

        public static final ServerError ProducerFenced
    • Method Detail

      • values

        public static ServerError[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ServerError c : ServerError.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ServerError valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()
      • valueOf

        public static ServerError valueOf​(int n)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        n - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null