@Override
 public void run() {
   try {
     PMS.get().getRootFolder(null).scan();
   } catch (Exception e) {
     LOGGER.error("Unhandled exception during library scan: {}", e.getMessage());
     LOGGER.trace("", e);
   }
 }
Example #2
0
 public Object analyseEvent(String word, Date from, Date to, int e_type) {
   // TODO Auto-generated method stub
   try {
     return new keywordSearch().eventAnalysis(word, from, to, e_type);
   } catch (IOException e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   } catch (Exception e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
   return null;
 }