elharo commented on PR #1156: URL: https://github.com/apache/commons-lang/pull/1156#issuecomment-1898713696
An error handler is an interesting idea. My initial reaction is positive, though I need to cogitate on it for a little while. It should be possible to give callers the option of either handling each exception independently or aborting processing completely. Either the error handler would be mandatory non-null or exceptions would bubble up naturally if no error handler was installed. This still makes more salient the question of whether the events are fired in a given and known order. I suspect the answer is yes, but we should be very explicit about that, and both test and document that. This is important for reproducibility. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
