Annotation Type FailedTask


@Target({METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Documented public @interface FailedTask

TaskExecutionListener.onTaskFailed(TaskExecution, Throwable).

 public class MyListener {
        @FailedTask
        public void  doSomething(TaskExecution taskExecution, Throwable throwable) {
    }
 }
 
Author:
Glenn Renfro