Skip to content

Conversation

garyrussell
Copy link
Contributor

Fixes #614

PR #595 added support for calling error handlers for general errors not related
to listener invocation.

However, the wrong handle() method was called.

Add a default implementation of the lowest interface method in the hierarchies to
ErrorHandler and BatchErrorHandler respectively and invoke that so the
right method will always be invoked, regardless of the error handler type.

Also see #615

Fixes spring-projects#614

PR spring-projects#595 added support for calling error handlers for general errors not related
to listener invocation.

However, the wrong `handle()` method was called.

Add a default implementation of the lowest interface method in the hierarchies to
`ErrorHandler` and `BatchErrorHandler` respectively and invoke that so the
right method will always be invoked, regardless of the error handler type.

Also see spring-projects#615
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants