Class ExclusionOperationError

java.lang.Object
org.apache.kafka.clients.admin.ExclusionOperationError

public class ExclusionOperationError extends Object
The error that caused an exclusion operation to fail.
  • Constructor Details

    • ExclusionOperationError

      public ExclusionOperationError(org.apache.kafka.common.protocol.Errors error, String errorMessage)
  • Method Details

    • exception

      public Exception exception()
      Returns:
      the Exception class that corresponds to this type of error
    • errorCode

      public short errorCode()
      Returns:
      the code of this error
    • errorMessage

      public String errorMessage()
    • toString

      public String toString()
      Overrides:
      toString in class Object