Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

`LoadAllTask` for client and server side cache proxies should also handle `Throwable`, not just `Exception` #6944

Closed
serkan-ozal opened this issue Dec 1, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@serkan-ozal
Copy link
Contributor

commented Dec 1, 2015

Currently, LoadAllTask, used by loadAll operation on client/server side caches, doesn't call CompletionListener::onException if received error is a Throwable but not an Exception.

javax.cache.integration.CompletionListener::onException(Exception e) takes Exception not Throwable so if received error is not an Exception but Throwable (such as Error), it should be wrapped inside an Exception as Throwable is cause and can be passed to CompletionListener.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.