-
Notifications
You must be signed in to change notification settings - Fork 186
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update exceptions from
AbstractNoHandleSubscribe
sources (#3193)
Motivation: `AbstractNoHandleSubscribe[Completable|Single|Publisher]` were used in the past not only to enforce non-standard context propagation but also an `Executor`. Then in 2020 we removed an `Executor` reference from operators chain, but did not reword these exceptions. Modifications: - Align exception type to always fail subscriber with `UnsupportedOperationException`. - Align exception message to clarify it's intended to target `CapturedContext` instead of `Executor`. - Simplify `LiftSynchronousPublisherToSingle` by extending `AbstractNoHandleSubscribeSingle`. Result: Updated and consistent behavior of `AbstractNoHandleSubscribe` sources.
- Loading branch information
1 parent
1af323e
commit 2a09aa2
Showing
4 changed files
with
12 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters