Class PulsarBatchListenerFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.pulsar.PulsarException
org.springframework.pulsar.listener.PulsarBatchListenerFailedException
- All Implemented Interfaces:
Serializable
Batch message listeners should throw this exception in the event of an error.
- Author:
- Soby Chacko
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPulsarBatchListenerFailedException
(String msg, Throwable cause, org.apache.pulsar.client.api.Message<?> message) PulsarBatchListenerFailedException
(String msg, org.apache.pulsar.client.api.Message<?> message) -
Method Summary
Methods inherited from class org.springframework.core.NestedRuntimeException
contains, getMostSpecificCause, getRootCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PulsarBatchListenerFailedException
public PulsarBatchListenerFailedException(String msg, org.apache.pulsar.client.api.Message<?> message) -
PulsarBatchListenerFailedException
-
-
Method Details
-
getMessageInError
-