mirror of https://github.com/apache/lucene.git
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:
parent
e02c6d0c14
commit
ba17276592
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue