import org.splat.dal.dao.som.StudyDAO;
import org.splat.dal.dao.som.UsedByRelationDAO;
import org.splat.dal.dao.som.ValidationCycleDAO;
+import org.splat.exception.BusinessException;
import org.splat.exception.IncompatibleDataException;
import org.splat.exception.InvalidParameterException;
import org.splat.kernel.InvalidPropertyException;
aStudyDTO.getAllRelations().add(link); // RKV
validactor.put(cname, link.getTo()); // Replaces the cycle if exists as default,
- } catch (Exception error) {
- LOG.error("Unable to re-index Knowledge Elements, reason:",
+ } catch (BusinessException error) {
+ LOG.error("Unable to create validation cycle, reason:",
error);
return;
}
dataset.addSeries(series);
} catch (FileNotFoundException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- return "ERROR";
+ LOG.error("Sorry, the file is not found.", e);
}
} // for
document.close();
} catch (FileNotFoundException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ LOG.error("Sorry, the file is not found.", e);
} catch (DocumentException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
+ LOG.error("Sorry, the DocumentException is thrown.", e);
}
return resultPath;