don't treat 404 special and lost the http response code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1363330 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mark Robert Miller 2012-07-19 13:49:55 +00:00
parent a965d6fdf7
commit b1fb39754b
1 changed files with 0 additions and 3 deletions

View File

@ -369,9 +369,6 @@ public class HttpSolrServer extends SolrServer {
+ " sent back a redirect (" + httpStatus + ").");
}
break;
case HttpStatus.SC_NOT_FOUND:
throw new SolrServerException("Server at " + getBaseURL()
+ " was not found (404).");
default:
throw new SolrException(SolrException.ErrorCode.getErrorCode(httpStatus), "Server at " + getBaseURL()
+ " returned non ok status:" + httpStatus + ", message:"