SOLR-3530: Add missing 'throw'.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1527784 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2013-09-30 21:01:17 +00:00
parent e02c6d0c14
commit ba17276592
1 changed files with 1 additions and 1 deletions

View File

@ -422,7 +422,7 @@ public class HttpSolrServer extends SolrServer {
try {
msg = msg + " " + IOUtils.toString(respBody, encoding);
} catch (IOException e) {
new RemoteSolrException(httpStatus, "Could not parse response with encoding " + encoding, e);
throw new RemoteSolrException(httpStatus, "Could not parse response with encoding " + encoding, e);
}
RemoteSolrException e = new RemoteSolrException(httpStatus, msg, null);
throw e;