275276277278279280281282
*/ private void rethrow(Throwable error) { if (error instanceof RuntimeException) { throw (RuntimeException) error; } else { throw new ContainerException(error); } }
253254255256257258259260261262
} else { exchange.sendResponseHeaders(context.getStatus(), getResponseLength(contentLength)); } } catch (IOException ioe) { throw new ContainerException("Error during writing out the response headers.", ioe); } return exchange.getResponseBody(); }
312313314315316317318319