You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Any exception that occurred during a step execution is vital data for a batch client, which can only get hold of StepExecution. StepContext is intended more for the code running inside batch container, not the client. So how about adding getException method to StepExecution interface?
A common use is, a batch job monitoring tool shows step execution data in a table:
id, name, batch status, exit status, exception, metrics
The text was updated successfully, but these errors were encountered:
Originally opened as bug 5432 by cf126330
--------------Original Comment History----------------------------
Comment from = cf126330 on 2013-10-02 15:15:54 +0000
StepContext has a getException method:
http://docs.oracle.com/javaee/7/api/javax/batch/runtime/context/StepContext.html
But StepExecution does not:
http://docs.oracle.com/javaee/7/api/javax/batch/runtime/StepExecution.html
Any exception that occurred during a step execution is vital data for a batch client, which can only get hold of StepExecution. StepContext is intended more for the code running inside batch container, not the client. So how about adding getException method to StepExecution interface?
A common use is, a batch job monitoring tool shows step execution data in a table:
id, name, batch status, exit status, exception, metrics
The text was updated successfully, but these errors were encountered: