Class PulsarBatchListenerFailedException

All Implemented Interfaces:
Serializable

public class PulsarBatchListenerFailedException extends PulsarException
Batch message listeners should throw this exception in the event of an error.
Author:
Soby Chacko
See Also:
  • Constructor Details

    • PulsarBatchListenerFailedException

      public PulsarBatchListenerFailedException(String msg, org.apache.pulsar.client.api.Message<?> message)
    • PulsarBatchListenerFailedException

      public PulsarBatchListenerFailedException(String msg, Throwable cause, org.apache.pulsar.client.api.Message<?> message)
  • Method Details

    • getMessageInError

      public Object getMessageInError()