Bugzilla – Bug 5432
Add getException method to StepExecution interface
Last modified: 2015-10-01 13:47:31 UTC
StepContext has a getException method:
But StepExecution does not:
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