Class BufferExhaustedException
- All Implemented Interfaces:
Serializable
This exception is thrown if the producer cannot allocate memory for a record within max.block.ms due to the buffer being too full. In earlier versions a TimeoutException was thrown instead of this. To keep existing catch-clauses working this class extends TimeoutException.
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionBufferExhaustedException(String message) Constructs a new BufferExhaustedException with the specified detail message.Method Summary
Methods inherited from class ApiException
fillInStackTraceMethods inherited from class Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Details
BufferExhaustedException
Constructs a new BufferExhaustedException with the specified detail message.- Parameters:
message- The error message