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.
@FunctionalInterface public interface OnErrorHandler
Error Handler interface for theLocalEventBus
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandle(EventHandler failingSubscriber, Object event, Exception exception)Will be called if a given consumer/subscriber fails to handle a message
-
-
-
Method Detail
-
handle
void handle(EventHandler failingSubscriber, Object event, Exception exception)
Will be called if a given 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
-
-