/** * Atomically terminate the container and return the contents of the last * non-terminal Throwable of it. * @return the last Throwable */ public Throwable terminate() { return ExceptionHelper.terminate(this); }
/** * Atomically terminate the container and return the contents of the last * non-terminal Throwable of it. * @return the last Throwable */ public Throwable terminate() { return ExceptionHelper.terminate(this); }
/** * Atomically terminate the container and return the contents of the last * non-terminal Throwable of it. * @return the last Throwable */ public Throwable terminate() { return ExceptionHelper.terminate(this); }
void errorAll(Subscriber<?> a) { Throwable ex = ExceptionHelper.terminate(error); lefts.clear(); rights.clear(); a.onError(ex); }
void errorAll(Observer<?> a) { Throwable ex = ExceptionHelper.terminate(error); lefts.clear(); rights.clear(); a.onError(ex); }
void errorAll(Observer<?> a) { Throwable ex = ExceptionHelper.terminate(error); lefts.clear(); rights.clear(); a.onError(ex); }
void errorAll(Subscriber<?> a) { Throwable ex = ExceptionHelper.terminate(error); for (UnicastProcessor<TRight> up : lefts.values()) { up.onError(ex); } lefts.clear(); rights.clear(); a.onError(ex); }
void errorAll(Observer<?> a) { Throwable ex = ExceptionHelper.terminate(error); for (UnicastSubject<TRight> up : lefts.values()) { up.onError(ex); } lefts.clear(); rights.clear(); a.onError(ex); }
void errorAll(Observer<?> a) { Throwable ex = ExceptionHelper.terminate(error); for (UnicastSubject<TRight> up : lefts.values()) { up.onError(ex); } lefts.clear(); rights.clear(); a.onError(ex); }
boolean checkTerminated(boolean d, boolean empty, Subscriber<?> a, FusedQueue<?> q) { if (cancelled) { current = null; q.clear(); return true; } if (d) { Throwable ex = error.get(); if (ex != null) { ex = ExceptionHelper.terminate(error); current = null; q.clear(); a.onError(ex); return true; } else if (empty) { a.onComplete(); return true; } } return false; }
s.cancel(); ExceptionHelper.addThrowable(error, ex); ex = ExceptionHelper.terminate(error); s.cancel(); ExceptionHelper.addThrowable(error, ex); ex = ExceptionHelper.terminate(error); a.onError(ex); return; s.cancel(); ExceptionHelper.addThrowable(error, ex); ex = ExceptionHelper.terminate(error); a.onError(ex); return; s.cancel(); ExceptionHelper.addThrowable(error, ex); ex = ExceptionHelper.terminate(error); a.onError(ex); return;
ex = ExceptionHelper.terminate(error);