Sorry for taking this long to get back, but I was on vacation.
I am not sure what you mean by 'stop loading'. If one item of the
queue fails, the queue should simply stop. If that is not what you
are experiencing, I'd appreciate a reduced test case and a bug report
so I can look into it.
In short you attach 'error' listeners to a BulkLoader instance. Any
items that fail will trigger that handler. That gives you the chance
to recover (say, showing a message to the user, or removing that item
from the queue if you can leave without it). You can also attach
listeners to an individual item.
That's it. The only caveat is that if one item fails to load, the
COMPLETE event for that BulkLoader instance will never fire.
I'am also unsure whether error handling information is not hard to
find. Maybe a few pointers:
- Error handling at the wiki[1].
- COMPLETE events and errors[2]
Best regards
[1] http://code.google.com/p/bulk-loader/wiki/HowToUseEvents#Error
[2] http://code.google.com/p/bulk-loader/wiki/FAQ#Complete_never_fires_if_there_is_an_error?
--
Arthur Debert
www.stimuli.com.br