Package io.micronaut.scheduling
Class DefaultTaskExceptionHandler
java.lang.Object
io.micronaut.scheduling.DefaultTaskExceptionHandler
- All Implemented Interfaces:
io.micronaut.core.exceptions.BeanExceptionHandler<Object,,Throwable> TaskExceptionHandler<Object,,Throwable> BiConsumer<Object,Throwable>
@Singleton
@Primary
public class DefaultTaskExceptionHandler
extends Object
implements TaskExceptionHandler<Object,Throwable>
The default exception handler used if non-other is found. Simply logs the exception.
- Since:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.core.exceptions.BeanExceptionHandler
acceptMethods inherited from interface java.util.function.BiConsumer
andThenMethods inherited from interface io.micronaut.scheduling.TaskExceptionHandler
handleCreationFailure