diff --git a/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/DaveAnalysisService.java b/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/DaveAnalysisService.java index 71a2131..ec975cc 100644 --- a/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/DaveAnalysisService.java +++ b/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/DaveAnalysisService.java @@ -92,7 +92,7 @@ public DaveVis createEmptyAnalysis() { public DaveVis createAnalysis(String name, String query, String queryName, String graphDescription, String graphName) { this.checkValidityOfInput(query, queryName, graphDescription, graphName); if (this.visRepository.findByName(name).isPresent()) { - throw new AnalysisExceptions.ConfigurationConflict("Conflicting analysis objects. Please rename your analysis."); + throw new AnalysisExceptions.ConfigurationConflict("The chosen name is already used. Please rename your analysis."); } DaveVis created = new DaveVis( name, diff --git a/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/controllers/AnalysisRestController.java b/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/controllers/AnalysisRestController.java index aaaf276..dbc132e 100644 --- a/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/controllers/AnalysisRestController.java +++ b/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/analysis/controllers/AnalysisRestController.java @@ -67,7 +67,7 @@ public RedirectView createAnalysisFromFile(@RequestParam List ana try { return mapper.readValue(input, JsonNode.class); } catch (IOException e) { - throw new InputMismatchException("Could not read input file. Input was expected to be a List of analysis."); + throw new InputMismatchException("Could not read input file. Input was expected to be a List of analyses."); } }) .toList(); diff --git a/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/dashboards/DaveDashboardService.java b/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/dashboards/DaveDashboardService.java index 2a06665..933f08a 100644 --- a/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/dashboards/DaveDashboardService.java +++ b/src/main/java/de/tudresden/inf/verdatas/xapitools/dave/dashboards/DaveDashboardService.java @@ -355,7 +355,7 @@ public String executeVisualisationOfDashboard(DaveDashboard dashboard, String ac visAndFiles.getSecond().getSecond().delete(); return visAndFiles.getFirst(); }) - .orElseThrow(() -> new DashboardExceptions.InvalidConfiguration("Could not find dashboard visualisation for execution.")); + .orElseThrow(() -> new DashboardExceptions.InvalidConfiguration("Could not find dashboard analyses for execution.")); } /**