java.lang.Runnablepublic abstract class ActionRunnable<Response> extends AbstractRunnable
Runnables that need to call ActionListener.onFailure(Exception) in case an uncaught
exception or error is thrown while the actual action is run.| Modifier and Type | Field | Description |
|---|---|---|
protected ActionListener<Response> |
listener |
| Constructor | Description |
|---|---|
ActionRunnable(ActionListener<Response> listener) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
onFailure(java.lang.Exception e) |
Calls the action listeners
ActionListener.onFailure(Exception) method with the given exception. |
doRun, isForceExecution, onAfter, onRejection, runprotected final ActionListener<Response> listener
public ActionRunnable(ActionListener<Response> listener)
public void onFailure(java.lang.Exception e)
ActionListener.onFailure(Exception) method with the given exception.
This method is invoked for all exception thrown by AbstractRunnable.doRun()onFailure in class AbstractRunnable