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

netty defrerals and executor exception handling #56

Closed
softprops opened this issue Aug 26, 2011 · 0 comments
Closed

netty defrerals and executor exception handling #56

softprops opened this issue Aug 26, 2011 · 0 comments

Comments

@softprops
Copy link
Member

We may be able to capture and handle at least one runtime exception throw when submitting a callable to the deferrable executor 1. This can potentially throw a RejectedExceptionException 2 if the server is shutting down. I think I may have captured this case the the following gist

https://gist.github.com/02267eac2f32970f9cf2

I think the server was shutting down in this case which caused the rejected exception 3 It may be safe to catch that and check if the executor is shutdown or terminated before re-throwing the exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant