File tree 5 files changed +10
-10
lines changed
src/main/java/io/reactivex
5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ public interface CompletableOnSubscribe {
24
24
/**
25
25
* Called for each CompletableObserver that subscribes.
26
26
* @param emitter the safe emitter instance, never null
27
- * @throws Exception on error
27
+ * @throws Throwable on error
28
28
*/
29
- void subscribe (@ NonNull CompletableEmitter emitter ) throws Exception ;
29
+ void subscribe (@ NonNull CompletableEmitter emitter ) throws Throwable ;
30
30
}
31
31
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ public interface FlowableOnSubscribe<T> {
26
26
/**
27
27
* Called for each Subscriber that subscribes.
28
28
* @param emitter the safe emitter instance, never null
29
- * @throws Exception on error
29
+ * @throws Throwable on error
30
30
*/
31
- void subscribe (@ NonNull FlowableEmitter <T > emitter ) throws Exception ;
31
+ void subscribe (@ NonNull FlowableEmitter <T > emitter ) throws Throwable ;
32
32
}
33
33
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ public interface MaybeOnSubscribe<T> {
26
26
/**
27
27
* Called for each MaybeObserver that subscribes.
28
28
* @param emitter the safe emitter instance, never null
29
- * @throws Exception on error
29
+ * @throws Throwable on error
30
30
*/
31
- void subscribe (@ NonNull MaybeEmitter <T > emitter ) throws Exception ;
31
+ void subscribe (@ NonNull MaybeEmitter <T > emitter ) throws Throwable ;
32
32
}
33
33
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ public interface ObservableOnSubscribe<T> {
26
26
/**
27
27
* Called for each Observer that subscribes.
28
28
* @param emitter the safe emitter instance, never null
29
- * @throws Exception on error
29
+ * @throws Throwable on error
30
30
*/
31
- void subscribe (@ NonNull ObservableEmitter <T > emitter ) throws Exception ;
31
+ void subscribe (@ NonNull ObservableEmitter <T > emitter ) throws Throwable ;
32
32
}
33
33
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ public interface SingleOnSubscribe<T> {
26
26
/**
27
27
* Called for each SingleObserver that subscribes.
28
28
* @param emitter the safe emitter instance, never null
29
- * @throws Exception on error
29
+ * @throws Throwable on error
30
30
*/
31
- void subscribe (@ NonNull SingleEmitter <T > emitter ) throws Exception ;
31
+ void subscribe (@ NonNull SingleEmitter <T > emitter ) throws Throwable ;
32
32
}
33
33
You can’t perform that action at this time.
0 commit comments