Package org.apache.kafka.common.errors
Class UnrepresentableBrokerIdException
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.UnrepresentableBrokerIdException
- All Implemented Interfaces:
Serializable
Thrown when the given broker ID is not representable (e.g a negative number)
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnrepresentableBrokerIdException
(String message) UnrepresentableBrokerIdException
(String message, int brokerId) UnrepresentableBrokerIdException
(String message, Throwable cause) UnrepresentableBrokerIdException
(String message, Throwable cause, int brokerId) -
Method Summary
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnrepresentableBrokerIdException
-
UnrepresentableBrokerIdException
-
UnrepresentableBrokerIdException
-
UnrepresentableBrokerIdException
-
-
Method Details
-
brokerId
public int brokerId()
-