void safeHandlerFailure(IOException e) { try { messageHandler.handleFailure(this, e); } catch (IOException e1) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToHandleSocketFailure(e); } }
void safeHandleFinished() { try { messageHandler.handleFinished(this); } catch (IOException e) { CONNECTION_LOGGER.failedToHandleSocketFinished(e); } }
void safeHandleShutdown() { try { messageHandler.handleShutdown(this); } catch (IOException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToHandleSocketShutdown(e); } }
void safeHandleMessage(final InputStream pis) { try { messageHandler.handleMessage(this, pis); } catch (RuntimeException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); } catch (IOException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); } catch (NoClassDefFoundError e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); } catch (Error e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); throw e; } finally { StreamUtils.safeClose(pis); } }
void safeHandleMessage(final InputStream pis) { try { messageHandler.handleMessage(this, pis); } catch (RuntimeException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); } catch (IOException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); } catch (NoClassDefFoundError e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); } catch (Error e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToReadMessage(e); throw e; } finally { StreamUtils.safeClose(pis); } }
void safeHandleFinished() { try { messageHandler.handleFinished(this); } catch (IOException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToHandleSocketFinished(e); } }
void safeHandlerFailure(IOException e) { try { messageHandler.handleFailure(this, e); } catch (IOException e1) { CONNECTION_LOGGER.failedToHandleSocketFailure(e); } }
void safeHandleShutdown() { try { messageHandler.handleShutdown(this); } catch (IOException e) { CONNECTION_LOGGER.failedToHandleSocketShutdown(e); } }
void safeHandleMessage(final InputStream pis) { try { messageHandler.handleMessage(this, pis); } catch (RuntimeException e) { CONNECTION_LOGGER.failedToReadMessage(e); } catch (IOException e) { CONNECTION_LOGGER.failedToReadMessage(e); } catch (NoClassDefFoundError e) { CONNECTION_LOGGER.failedToReadMessage(e); } catch (Error e) { CONNECTION_LOGGER.failedToReadMessage(e); throw e; } finally { StreamUtils.safeClose(pis); } }
void safeHandleFinished() { try { messageHandler.handleFinished(this); } catch (IOException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToHandleSocketFinished(e); } }
void safeHandlerFailure(IOException e) { try { messageHandler.handleFailure(this, e); } catch (IOException e1) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToHandleSocketFailure(e); } }
void safeHandleShutdown() { try { messageHandler.handleShutdown(this); } catch (IOException e) { ProcessLogger.PROTOCOL_CONNECTION_LOGGER.failedToHandleSocketShutdown(e); } }