private void wrapTimeout ( final IoSession session, final ProtocolDecoderOutput out ) { try { timeout ( session, out ); } catch ( final Throwable e ) { try { session.getHandler ().exceptionCaught ( session, e ); } catch ( final Throwable ee ) { logger.warn ( "Exception was thrown during handling Exception", ee ); } } }
private void wrapTimeout ( final IoSession session, final ProtocolDecoderOutput out ) { try { timeout ( session, out ); } catch ( final Throwable e ) { try { session.getHandler ().exceptionCaught ( session, e ); } catch ( final Throwable ee ) { logger.warn ( "Exception was thrown during handling Exception", ee ); } } }
handler.exceptionCaught(session, cause);
@Override public void exceptionCaught(NextFilter nextFilter, IoSession session, Throwable cause) throws Exception { AbstractIoSession s = (AbstractIoSession) session; try { s.getHandler().exceptionCaught(s, cause); } finally { if (s.getConfig().isUseReadOperation()) { s.offerFailedReadFuture(cause); } } }
@Override public void exceptionCaught(NextFilter nextFilter, IoSession session, Throwable cause) throws Exception { AbstractIoSession s = (AbstractIoSession) session; try { s.getHandler().exceptionCaught(s, cause); } finally { if (s.getConfig().isUseReadOperation()) { s.offerFailedReadFuture(cause); } } }
@Override public void exceptionCaught(NextFilter nextFilter, IoSession session, Throwable cause) throws Exception { AbstractIoSession s = (AbstractIoSession) session; try { s.getHandler().exceptionCaught(s, cause); } finally { if (s.getConfig().isUseReadOperation()) { s.offerFailedReadFuture(cause); } } }
@Override public void exceptionCaught(NextFilter nextFilter, IoSession session, Throwable cause) throws Exception { AbstractIoSession s = (AbstractIoSession) session; try { s.getHandler().exceptionCaught(s, cause); } finally { if (s.getConfig().isUseReadOperation()) { s.offerFailedReadFuture(cause); } } }