Bugzilla – Bug 4648
Do chunk ItemXXXXListener onXXXXError get called for skip/retried exceptions?
Last modified: 2013-03-01 18:45:56 UTC
E.g. does ItemReadListener onReadError get called for skip/retried exceptions on the read? Or only for non-skipped/retried exceptions?
From the pseudocode at the end of the spec, it seems the answer is "yes", as in Sec. 8.8 you show:
iv. <->[ItemReadListener.onReadError] // thread A
v. <->[SkipListener.onSkipReadItem] // thread A
The equivalent pseudocode for retry listeners doesn't show the onXXXError method getting called though.
If we couldn't raise the issue I'd assume it did get called, but figured we'd ask.
Yes, the intention for exceptions is that all applicable listeners receive control (e.g. both read and skip listener). The read/process/write listeners are missing in the retry schematic. That will be fixed in PFD v1.5.