Class CoherenceSubscriberException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.micronaut.messaging.exceptions.MessagingException
io.micronaut.messaging.exceptions.MessageListenerException
io.micronaut.coherence.messaging.exceptions.CoherenceSubscriberException
- All Implemented Interfaces:
Serializable
public class CoherenceSubscriberException
extends io.micronaut.messaging.exceptions.MessageListenerException
- Since:
- 1.0
- Author:
- Jonathan Knight
- See Also:
-
Constructor Summary
ConstructorDescriptionCoherenceSubscriberException
(String message, Object listener, com.tangosol.net.topic.Subscriber<?> kafkaConsumer, com.tangosol.net.topic.Subscriber.Element<?> element) Creates a new exception.CoherenceSubscriberException
(String message, Throwable cause, Object listener, com.tangosol.net.topic.Subscriber<?> kafkaConsumer, com.tangosol.net.topic.Subscriber.Element<?> element) Creates a new exception.CoherenceSubscriberException
(Throwable cause, Object listener, com.tangosol.net.topic.Subscriber<?> kafkaConsumer, com.tangosol.net.topic.Subscriber.Element<?> element) Creates a new exception. -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.tangosol.net.topic.Subscriber.Element<?>>
com.tangosol.net.topic.Subscriber<?>
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CoherenceSubscriberException
public CoherenceSubscriberException(String message, Object listener, com.tangosol.net.topic.Subscriber<?> kafkaConsumer, com.tangosol.net.topic.Subscriber.Element<?> element) Creates a new exception.- Parameters:
message
- The messagelistener
- The listenerkafkaConsumer
- The consumerelement
- The consumer record
-
CoherenceSubscriberException
public CoherenceSubscriberException(String message, Throwable cause, Object listener, com.tangosol.net.topic.Subscriber<?> kafkaConsumer, com.tangosol.net.topic.Subscriber.Element<?> element) Creates a new exception.- Parameters:
message
- The messagecause
- The causelistener
- The listenerkafkaConsumer
- The consumerelement
- The consumer record
-
CoherenceSubscriberException
public CoherenceSubscriberException(Throwable cause, Object listener, com.tangosol.net.topic.Subscriber<?> kafkaConsumer, com.tangosol.net.topic.Subscriber.Element<?> element) Creates a new exception.- Parameters:
cause
- The causelistener
- The listenerkafkaConsumer
- The consumerelement
- The consumer record
-
-
Method Details
-
getKafkaListener
- Returns:
- The bean that is the kafka listener
-
getKafkaConsumer
public com.tangosol.net.topic.Subscriber<?> getKafkaConsumer()- Returns:
- The consumer that produced the error
-
getElement
- Returns:
- The element that was being processed that caused the error
-