/** * Error signal from the upstream, write Publisher. This is also used by * sub-classes to delegate error notifications from the container. */ @Override public final void onError(Throwable ex) { if (rsWriteLogger.isTraceEnabled()) { rsWriteLogger.trace(getLogPrefix() + "Write source error: " + ex); } this.state.get().onError(this, ex); }
/** * Error signal from the upstream, write Publisher. This is also used by * sub-classes to delegate error notifications from the container. */ @Override public final void onError(Throwable ex) { if (rsWriteLogger.isTraceEnabled()) { rsWriteLogger.trace(getLogPrefix() + "Write source error: " + ex); } this.state.get().onError(this, ex); }
public <T> void onError(AbstractListenerWriteProcessor<T> processor, Throwable ex) { if (processor.changeState(this, COMPLETED)) { processor.discardCurrentData(); processor.writingComplete(); processor.resultPublisher.publishError(ex); } else { processor.state.get().onError(processor, ex); } }
public <T> void onError(AbstractListenerWriteProcessor<T> processor, Throwable ex) { if (processor.changeState(this, COMPLETED)) { processor.discardCurrentData(); processor.writingComplete(); processor.resultPublisher.publishError(ex); } else { processor.state.get().onError(processor, ex); } }
/** * Error signal from the upstream, write Publisher. This is also used by * sub-classes to delegate error notifications from the container. */ @Override public final void onError(Throwable ex) { if (rsWriteLogger.isTraceEnabled()) { rsWriteLogger.trace(getLogPrefix() + "Write source error: " + ex); } this.state.get().onError(this, ex); }
public <T> void onError(AbstractListenerWriteProcessor<T> processor, Throwable ex) { if (processor.changeState(this, COMPLETED)) { processor.discardCurrentData(); processor.writingComplete(); processor.resultPublisher.publishError(ex); } else { processor.state.get().onError(processor, ex); } }