private void safeAbortWriter(Throwable throwable) { try { _writer.onAbort(throwable); } catch (Throwable ex) { LOG.warn("Writer throws exception at onAbort", ex); } }
@Override public void onAbort(Throwable e) { if (e.getClass().equals(AbortedException.class)) { e = new com.linkedin.entitystream.AbortedException(e.getMessage(), e); } _writer.onAbort(e); } }