code: public QuartzExceptionHandler getQuartzExceptionHandler(final JobExecutionContext context) {
          QuartzExceptionHandler exceptionHandler = null;
          try {
              final ApplicationContext applicationContext = getApplicationContext(context);
  
              exceptionHandler = (QuartzExceptionHandler) applicationContext.getBean(QUARTZ_EXCEPTION_HANDLER_BEAN_NAME);
  
          } catch (JobExecutionException e) {
          	logger.error("An error occurs getting the Quartz exception Handler", e);
          }
  
          return exceptionHandler;
      }
docs: Retrieve the quartz exception handler bean.
  @param context
  @return