Bug 4549 - Listener Error method naming consistency
Listener Error method naming consistency
Product: jbatch
Classification: Unclassified
Component: source
All All
: P5 normal
: ---
Assigned To: cvignola
Depends on:
  Show dependency treegraph
Reported: 2013-01-17 22:28 UTC by mminella
Modified: 2013-02-04 23:13 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description mminella 2013-01-17 22:28:28 UTC
Some listener methods are named on*Exception (Job and Step for example) and others are on*Error (ItemRead and ItemWrite for example).  We should standardize on one convention unless there is a reason that I can't see for the naming inconsistency.
Comment 1 cvignola 2013-01-23 20:41:24 UTC
Comment 2 cvignola 2013-02-04 23:13:34 UTC
on*Error will be the standard.  StepListener.onException and JobListener.onException are being removed by http://java.net/bugzilla/show_bug.cgi?id=4284.  All other methods conform to on*Error.  So there is actually nothing further that needs to be done.