deprecated getSolrCore() was hiding exceptions

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@600695 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-12-03 21:34:37 +00:00
parent 7dad8508d8
commit c25f9eaeca
1 changed files with 2 additions and 2 deletions

View File

@ -254,8 +254,8 @@ public final class SolrCore {
instance = new SolrCore(null, new SolrConfig(), null); instance = new SolrCore(null, new SolrConfig(), null);
} }
catch(Exception xany) { catch(Exception xany) {
log.throwing("SolrCore", "getSolrCore", xany); throw new SolrException( SolrException.ErrorCode.SERVER_ERROR,
return null; "error creating core", xany );
} }
} }
} }