@Override public void onError(Throwable error) { processor.onError(error); }
@Override public void onError(Throwable t) { Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } downstream.onError(t); }
@Override public void onError(Throwable t) { Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } downstream.onError(t); }
@Override public void onError(Throwable t) { Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } actual.onError(t); }
@Override public void onError(Throwable t) { Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } actual.onError(t); }
@Override public void onError(Throwable t) { if (done) { RxJavaPlugins.onError(t); return; } for (Processor<T, T> w : windows) { w.onError(t); } windows.clear(); error = t; done = true; drain(); }
@Override public void onError(Throwable t) { if (done) { Operators.onErrorDropped(t, ctx); return; } done = true; Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } actual.onError(t); }
@Override public void onError(Throwable t) { if (done) { RxJavaPlugins.onError(t); return; } for (Processor<T, T> w : windows) { w.onError(t); } windows.clear(); error = t; done = true; drain(); }
@Override public void onError(Throwable t) { if (done) { Operators.onErrorDropped(t, actual.currentContext()); return; } done = true; Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } actual.onError(t); }
@Override public void onError(Throwable t) { if (done) { Operators.onErrorDropped(t, actual.currentContext()); return; } done = true; for (Processor<T, T> w : this) { w.onError(t); } clear(); error = t; drain(); }
private void handleSendProcessorCancel(SignalType t) { if (SignalType.ON_ERROR == t) { return; } receivers.values().forEach(subscriber -> { try { subscriber.onError(new Throwable("closed connection")); } catch (Throwable e) { errorConsumer.accept(e); } }); senders.values().forEach(LimitableRequestPublisher::cancel); }
private void handleSendProcessorError(Throwable t) { Throwable terminationError = lifecycle.getTerminationError(); Throwable err = terminationError != null ? terminationError : t; receivers.values().forEach(subscriber -> { try { subscriber.onError(err); } catch (Throwable e) { errorConsumer.accept(e); } }); senders.values().forEach(LimitableRequestPublisher::cancel); }
private synchronized void cleanUpSubscriber(Processor subscriber) { try { subscriber.onError(lifecycle.getTerminationError()); } catch (Throwable t) { errorConsumer.accept(t); } }
private void handleSendProcessorError(Throwable t) { sendingSubscriptions.values().forEach(subscription -> { try { subscription.cancel(); } catch (Throwable e) { errorConsumer.accept(e); } }); channelProcessors.values().forEach(subscription -> { try { subscription.onError(t); } catch (Throwable e) { errorConsumer.accept(e); } }); }
@Override public void onError(Throwable t) { error = t; done = true; source.onError(t); }
@Override public void onError(Throwable t) { Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } downstream.onError(t); }
private void handleSendProcessorError(Throwable t) { Throwable terminationError = lifecycle.getTerminationError(); Throwable err = terminationError != null ? terminationError : t; receivers.values().forEach(subscriber -> { try { subscriber.onError(err); } catch (Throwable e) { errorConsumer.accept(e); } }); senders.values().forEach(LimitableRequestPublisher::cancel); }
@Override public void onError(Throwable t) { Processor<T, T> w = window; if (w != null) { window = null; w.onError(t); } actual.onError(t); }
@Override public void run() { try { action.accept(processor, d); } catch (Throwable ex) { Exceptions.throwIfFatal(ex); processor.onError(ex); } } }));
@Override public void onError(Throwable t) { if (tePolicy.equals(WRAP)) { proc.onNext(new Event.ErrorEvent(t)); } else if (tePolicy.equals(PASS)) { proc.onError(t); } }