|
|
@ -261,7 +261,7 @@ public class MethodInvokingJobDetailFactoryBean extends ArgumentConvertingMethod |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected void executeInternal(JobExecutionContext context) throws JobExecutionException { |
|
|
|
protected void executeInternal(JobExecutionContext context) throws JobExecutionException { |
|
|
|
try { |
|
|
|
try { |
|
|
|
this.methodInvoker.invoke(); |
|
|
|
context.setResult(this.methodInvoker.invoke()); |
|
|
|
} |
|
|
|
} |
|
|
|
catch (InvocationTargetException ex) { |
|
|
|
catch (InvocationTargetException ex) { |
|
|
|
if (ex.getTargetException() instanceof JobExecutionException) { |
|
|
|
if (ex.getTargetException() instanceof JobExecutionException) { |
|
|
|