throw new RuntimeException(e.getMessage()); } catch (IOException e) { logger.error("error while calling spill() on " + c, e); throw new RuntimeException(e.getMessage()); } catch (IOException e) { logger.error("error while calling spill() on " + consumer, e);
throw new RuntimeException(e.getMessage()); } catch (IOException e) { logger.error("error while calling spill() on " + c, e); throw new RuntimeException(e.getMessage()); } catch (IOException e) { logger.error("error while calling spill() on " + consumer, e);
throw new RuntimeException(e.getMessage()); } catch (IOException e) { logger.error("error while calling spill() on " + c, e); throw new RuntimeException(e.getMessage()); } catch (IOException e) { logger.error("error while calling spill() on " + consumer, e);
} catch (ClosedByInterruptException ie1) { LOGGER.info("Retrying...."); LOGGER.error("Getting Error: " + ie1.getMessage(), ie1); return true; } finally {
public void enqueue(IndexOperation indexOp) throws AnalyticsException { try { this.primaryQueue.enqueue(indexOp.getBytes()); } catch (ClosedByInterruptException e) { throw new AnalyticsInterruptException("Error in index data enqueue (Interrupted..): " + e.getMessage(), e); } catch (IOException e) { throw new AnalyticsException("Error in index data enqueue: " + e.getMessage(), e); } }
@Override public void run() { while (!serverExecutorService.isShutdown()) { try { LOG.debug("ServerTask: accepting... this={}, local.port={}", this, getLocalPort()); Socket acceptSocket = serverSocket.accept(); LOG.debug("ServerTask: accepted. this={}, local.port={}, remote.port={}", this, getLocalPort(), acceptSocket.getPort()); serverExecutorService.execute( new AcceptTask(serverExecutorService, lastEventTimeStampMilli, eventHandler, acceptSocket)); } catch (RejectedExecutionException e) { LOG.debug("ServerTask: ServerSocket.accept() failed[{}]: this={}", e.getMessage(), this); } catch (ClosedByInterruptException e) { LOG.debug("ServerTask: ServerSocket.accept() failed[{}]: this={}", e.getMessage(), this); } catch (IOException e) { LOG.warn("ServerTask: ServerSocket.accept() failed[{}]: this={}", e.getMessage(), this); } } try { serverSocket.close(); } catch (IOException e) { LOG.warn("ServerTask: ServerSocketChannel.close() failed", e); } LOG.info("ServerTask: Finishing ServerTask...: this={}", this); }
"Replica loop unexpected interrupt."); throw new InterruptedException (closedByInterruptException.getMessage()); } catch (IOException e) {
"Arbiter loop unexpected interrupt."); throw new InterruptedException (closedByInterruptException.getMessage()); } catch (IOException | UnknownMasterException e) {
throw new InterruptedException(e.getMessage()); } catch (IOException e) { log.error(e.getMessage(), e);
throw new InterruptedException(e.getMessage());