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 SummaryConstructorsConstructorDescriptionCoherenceSubscriberException(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 SummaryModifier and TypeMethodDescriptionOptional<com.tangosol.net.topic.Subscriber.Element<?>>com.tangosol.net.topic.Subscriber<?>Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
CoherenceSubscriberExceptionpublic 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 message
- listener- The listener
- kafkaConsumer- The consumer
- element- The consumer record
 
- 
CoherenceSubscriberExceptionpublic 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 message
- cause- The cause
- listener- The listener
- kafkaConsumer- The consumer
- element- The consumer record
 
- 
CoherenceSubscriberExceptionpublic 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 cause
- listener- The listener
- kafkaConsumer- The consumer
- element- The consumer record
 
 
- 
- 
Method Details- 
getKafkaListener- Returns:
- The bean that is the kafka listener
 
- 
getKafkaConsumerpublic 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
 
 
-