You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in
49
-
* compliance with the License. You may obtain a copy of the License at
50
-
*
51
-
* http://www.apache.org/licenses/LICENSE-2.0
52
-
*
53
-
* Unless required by applicable law or agreed to in writing, software distributed under the License is
54
-
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See
55
-
* the License for the specific language governing permissions and limitations under the License.
56
-
*/
57
-
58
-
package io.reactivex.exceptions;
59
-
60
-
/**
61
-
* Wrapper for Throwable errors that are sent to `RxJavaPlugins.onError`.
62
-
* <p>History: 2.0.6 - experimental; 2.1 - beta
63
-
* @since 2.2
64
-
*/
65
-
public final class UndeliverableException extends IllegalStateException {
66
-
67
-
private static final long serialVersionUID = 1644750035281290266L;
68
-
69
-
/**
70
-
* Construct an instance by wrapping the given, non-null
71
-
* cause Throwable.
72
-
* @param cause the cause, not null
73
-
*/
74
-
public UndeliverableException(Throwable cause) {
75
-
super("The exception could not be delivered to the consumer because it has already canceled/disposed the flow or the exception has nowhere to go to begin with. Further reading: https://github.com/ReactiveX/RxJava/wiki/What's-different-in-2.0#error-handling | " + cause, cause);
0 commit comments