View Javadoc
1   package net.avcompris.commons3.triggered;
2   
3   import javax.annotation.Nullable;
4   
5   import net.avcompris.commons3.api.exception.ServiceException;
6   import net.avcompris.commons3.notifier.api.ErrorNotification;
7   
8   @FunctionalInterface
9   public interface ErrorTriggeredAction {
10  
11  	void execute(//
12  			@Nullable String correlationId, //
13  			@Nullable String username, //
14  			ErrorNotification notification //
15  	) throws ServiceException;
16  }