Interface OnErrorHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Error Handler interface for the
LocalEventBus's asynchronous
event handler failures-
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(EventHandler failingSubscriber, Object event, Exception exception) Will be called if a given asynchronous consumer/subscriber fails to handle a message
-
Method Details
-
handle
Will be called if a given asynchronous consumer/subscriber fails to handle a message- Parameters:
failingSubscriber- the subscriber instance that failedevent- the event the subscriber failed to handleexception- the exception thrown by thefailingSubscriber
-