Several methods defined in ExceptionHandler interface accept Throwable as one of arguments.
ForgivingExceptionHandler and DefaultExceptionHandler (which is used as a default ExceptionHandler implementation) as one of it's descendants effectively ignore any encountered Errors leaving application in abnormal state, which is strongly discouraged according to Error's description.
Maybe it would be more correct to re-throw catched Errors after ExceptionHandler tried to log them or catch clauses should not even rely on ExceptionHandler to re-throw Errors.
Several methods defined in
ExceptionHandlerinterface acceptThrowableas one of arguments.ForgivingExceptionHandlerandDefaultExceptionHandler(which is used as a defaultExceptionHandlerimplementation) as one of it's descendants effectively ignore any encounteredErrors leaving application in abnormal state, which is strongly discouraged according toError's description.Maybe it would be more correct to re-throw catched
Errors afterExceptionHandlertried to log them or catch clauses should not even rely onExceptionHandlerto re-throwErrors.