lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r1527784 - /lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java
Date Mon, 30 Sep 2013 21:01:17 GMT
Author: markrmiller
Date: Mon Sep 30 21:01:17 2013
New Revision: 1527784

URL: http://svn.apache.org/r1527784
Log:
SOLR-3530: Add missing 'throw'.

Modified:
    lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java

Modified: lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java?rev=1527784&r1=1527783&r2=1527784&view=diff
==============================================================================
--- lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java
(original)
+++ lucene/dev/trunk/solr/solrj/src/java/org/apache/solr/client/solrj/impl/HttpSolrServer.java
Mon Sep 30 21:01:17 2013
@@ -422,7 +422,7 @@ public class HttpSolrServer extends Solr
           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;



Mime
View raw message