Class ListenerExecutionFailedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.springframework.core.NestedRuntimeException
org.springframework.kafka.KafkaException
org.springframework.kafka.listener.ListenerExecutionFailedException
- All Implemented Interfaces:
Serializable
The listener specific
KafkaException
extension.- Author:
- Gary Russell
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.kafka.KafkaException
KafkaException.Level
-
Constructor Summary
ConstructorsConstructorDescriptionListenerExecutionFailedException
(String message) Construct an instance with the provided properties.ListenerExecutionFailedException
(String message, String groupId, Throwable cause) Construct an instance with the provided properties.ListenerExecutionFailedException
(String message, Throwable cause) Construct an instance with the provided properties. -
Method Summary
Modifier and TypeMethodDescriptionReturn the consumer group.id property of the container that threw this exception.Methods inherited from class org.springframework.kafka.KafkaException
selfLog
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
-
ListenerExecutionFailedException
Construct an instance with the provided properties.- Parameters:
message
- the exception message.
-
ListenerExecutionFailedException
-
ListenerExecutionFailedException
-
-
Method Details
-
getGroupId
-