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

Error Handling Improvements - User Provided Observers/Functions #221

Merged

Conversation

benjchristensen
Copy link
Member

Improve error handling as per discussion in issue #216

This is by no means exhaustive in the search for places needing this protection but gets the most obvious ones entering via subscribe and forEach.

The intention is to protect against exceptions being thrown and ensure onNext/onError/onCompleted contract compliance.

@cloudbees-pull-request-builder

RxJava-pull-requests #68 SUCCESS
This pull request looks good

…ors package

- based on discussion at ReactiveX#221
- don't wrap at AtomicObserver again
- anything outside of rx.operators will be wrapped
@cloudbees-pull-request-builder

RxJava-pull-requests #69 SUCCESS
This pull request looks good

@benjchristensen
Copy link
Member Author

I've incorporated the change to restrict "internal" identification to rx.operators.

Merging as this seems to be a good step forward ... further changes can always come in via another pull request.

benjchristensen added a commit that referenced this pull request Apr 2, 2013
Error Handling Improvements - User Provided Observers/Functions
@benjchristensen benjchristensen merged commit 645c7b4 into ReactiveX:master Apr 2, 2013
rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
…ors package

- based on discussion at ReactiveX#221
- don't wrap at AtomicObserver again
- anything outside of rx.operators will be wrapped
rickbw pushed a commit to rickbw/RxJava that referenced this pull request Jan 9, 2014
…-handling

Error Handling Improvements - User Provided Observers/Functions
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.

None yet

3 participants