public void onFailure(Throwable e) { try { if (e instanceof ElasticSearchViewNotFoundException) { channel.sendResponse(new XContentThrowableRestResponse(request, NOT_FOUND, e)); } else { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
public void onFailure(Throwable e) { try { if (e instanceof ElasticSearchViewNotFoundException) { channel.sendResponse(new XContentThrowableRestResponse(request, NOT_FOUND, e)); } else { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse( request, e)); } catch (IOException e1) { e1.printStackTrace(); logger.error("failed to send failure response", e1); } } });
public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
@Override public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
public void onFailure(Throwable e) { try { channel.sendResponse( new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
@Override public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
@Override public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
@Override public void onFailure(Throwable e) { try { logger.error("Error processing executing search", e); channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); } } });
public void onFailure(Throwable e) { try { channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send failure response", e1); try { logger.error(ex.getMessage(), ex); channel.sendResponse(new XContentThrowableRestResponse(request, ex)); } catch (Exception ex2) { logger.error(ex2.getMessage(), ex2);
channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send error response", e1); channel.sendResponse(new XContentThrowableRestResponse(request, e)); } catch (IOException e1) { logger.error("Failed to send error response", e1);
} catch (IOException ex) { try { channel.sendResponse(new XContentThrowableRestResponse(request, ex)); } catch (Exception ex2) { logger.error("problem while rolling index", ex2);
channel.sendResponse(new XContentThrowableRestResponse( request, e)); } catch (IOException e1) {