@Override public void onFailure(Exception e) { try { channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e); logger.warn(() -> new ParameterizedMessage( "failed to notify channel of error message for action [{}]", action), inner); } }
channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e);
@Override public void onFailure(Exception e) { try { channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e); logger.warn(() -> new ParameterizedMessage( "failed to notify channel of error message for action [{}]", action), inner); } }
sendResponse(response, TransportResponseOptions.EMPTY);
channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e);
channel.sendResponse(e); } catch (Throwable e1) { logger.warn("failed to notify channel of error message for action [" + action + "]", e1);
channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e);
@Override public void sendResponse(TransportResponse response) throws IOException { sendResponse(response, TransportResponseOptions.EMPTY); }
@Override public void sendResponse(TransportResponse response) throws IOException { sendResponse(response, TransportResponseOptions.EMPTY); }
@Override public void onFailure(Exception e) { try { channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e); logger.warn(() -> new ParameterizedMessage( "failed to notify channel of error message for action [{}]", action), inner); } } });
@Override public void onFailure(Exception e) { try { channel.sendResponse(e); } catch (Exception inner) { inner.addSuppressed(e); logger.warn( (Supplier<?>) () -> new ParameterizedMessage( "failed to notify channel of error message for action [{}]", action), inner); } } });
@Override public void onFailure(Throwable e) { try { channel.sendResponse(e); } catch (Throwable e1) { logger.warn("failed to notify channel of error message for action [" + action + "]", e1); logger.warn("actual exception", e); } } });
@Override public void sendResponse(TransportResponse response) throws IOException { sendResponse(response, TransportResponseOptions.EMPTY); }