@Override public void run() { try { invoke(); } catch (InvocationTargetException ex) { logger.error(getInvocationFailureMessage(), ex.getTargetException()); // Do not throw exception, else the main loop of the scheduler might stop! } catch (Throwable ex) { logger.error(getInvocationFailureMessage(), ex); // Do not throw exception, else the main loop of the scheduler might stop! } }
@Override public void run() { try { invoke(); } catch (InvocationTargetException ex) { logger.error(getInvocationFailureMessage(), ex.getTargetException()); // Do not throw exception, else the main loop of the scheduler might stop! } catch (Throwable ex) { logger.error(getInvocationFailureMessage(), ex); // Do not throw exception, else the main loop of the scheduler might stop! } }
@Override public void run() { try { invoke(); } catch (InvocationTargetException ex) { logger.error(getInvocationFailureMessage(), ex.getTargetException()); // Do not throw exception, else the main loop of the scheduler might stop! } catch (Throwable ex) { logger.error(getInvocationFailureMessage(), ex); // Do not throw exception, else the main loop of the scheduler might stop! } }