Interface TaskExceptionHandler<T,E extends Throwable>

Type Parameters:
T - The generic type of the task bean
E - The generic type of the exception
All Superinterfaces:
BeanExceptionHandler<T,E>, BiConsumer<T,E>
All Known Implementing Classes:
DefaultTaskExceptionHandler

public interface TaskExceptionHandler<T,E extends Throwable> extends BeanExceptionHandler<T,E>
An exception handler interface for task related exceptions.
Since:
1.0
Author:
graemerocher
  • Method Details

    • handleCreationFailure

      default void handleCreationFailure(BeanDefinition<T> beanType, E throwable)
      Handle an error that occurs during creation of the scheduled task.
      Parameters:
      beanType - The bean type
      throwable - The throwable
      Since:
      4.0.0