Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

New catch (Exception)

  • Loading branch information...
commit c8692ee8c18dc384d84669aad0523898a29467ea 1 parent 7d033d8
João Melo lyncodev authored
7 dspace-oai/dspace-oai-api/src/main/java/org/dspace/xoai/DSpaceOAIDataProvider.java
View
@@ -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();
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.