Permalink
Browse files

New catch (Exception)

  • Loading branch information...
1 parent 7d033d8 commit c8692ee8c18dc384d84669aad0523898a29467ea @lyncodev lyncodev committed Sep 17, 2012
View
7 dspace-oai/dspace-oai-api/src/main/java/org/dspace/xoai/DSpaceOAIDataProvider.java
@@ -60,12 +60,15 @@ public void init()
}
catch (com.lyncode.xoai.dataprovider.exceptions.ConfigurationException e)
{
- System.out.println("Unable to configure XOAI (OAI 2.0 Core)");
+ System.out.println("Unable to configure XOAI (XOAI 2.0 Core)");
e.printStackTrace();
}
catch (SolrServerException e)
{
- System.out.println("Unable to configure XOAI (OAI 2.0 Core)");
+ System.out.println("Unable to connect to Solr Server");
+ e.printStackTrace();
+ } catch (Exception e) {
+ System.out.println("Unable to initialize XOAI.");
e.printStackTrace();
}
}

0 comments on commit c8692ee

Please sign in to comment.