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

The StreamEngine didn't handle well instantiation failure #671

Merged
merged 1 commit into from
Feb 22, 2019

Conversation

fbacchella
Copy link
Contributor

The allocation of decoder or encoder could faild if given a wrong class, but
in this it will return null and print a stack. It now return ZError.InstantiationException.
But it can also throw a more classical IllegalArgumentException. It also
use generic instead of type cast.

The allocation of decoder or encoder could faild if given a wrong class, but
in this it will return null and print a stack. It now return ZError.InstantiationException.
But it can also throw a more classical IllegalArgumentException. It also
use generic instead of type cast.
@trevorbernard trevorbernard merged commit 40b8d77 into zeromq:master Feb 22, 2019
@fbacchella fbacchella deleted the exception_streamengine branch February 22, 2019 15:30
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