throw new LoggingJobExecutionException( Messages.getInstance().getErrorString(
"ActionAdapterQuartzJob.ERROR_0003_ACTION_WRONG_TYPE", actionClass.getName(), //$NON-NLS-1$
IAction.class.getName() ) );
}
final IAction actionBean = (IAction) bean;
try {
invokeAction( actionBean, actionUser, context, jobDataMap.getWrappedMap() );
} catch ( Throwable t ) {
// ensure that scheduler thread isn't blocked on lock
synchronized ( lock ) {
lock.notifyAll();
}
// We should not distinguish between checked and unchecked exceptions here. All job execution failures
// should result in a rethrow of a quartz exception
throw new LoggingJobExecutionException( Messages.getInstance().getErrorString(
"ActionAdapterQuartzJob.ERROR_0004_ACTION_FAILED", actionBean //$NON-NLS-1$
.getClass().getName() ), t );
}
}