aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
authorFelix Kehrer <felix.kehrer@gmail.com>2018-05-25 20:52:48 +0200
committerTharre <tharre3@gmail.com>2018-05-27 14:07:11 +0200
commitb800d7d996c4e4035eb173776d736d0fb851cf8f (patch)
tree68a056eb69c8d757c81cdc4ba55ee0d72978ab27 /src/main/java
parente192b737e3520d93149c44e83b35650eb333b105 (diff)
downloadsepm-groupproject-b800d7d996c4e4035eb173776d736d0fb851cf8f.tar.gz
sepm-groupproject-b800d7d996c4e4035eb173776d736d0fb851cf8f.tar.xz
sepm-groupproject-b800d7d996c4e4035eb173776d736d0fb851cf8f.zip
changed messages of InvalidEmployeeExceptions to german #27033
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/dto/EmployeeValidator.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/dto/EmployeeValidator.java b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/dto/EmployeeValidator.java
index 994be3f..82033b9 100644
--- a/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/dto/EmployeeValidator.java
+++ b/src/main/java/at/ac/tuwien/sepm/assignment/groupphase/einsatzverwaltung/dto/EmployeeValidator.java
@@ -12,17 +12,17 @@ public class EmployeeValidator {
if (employee.name() == null || employee.name().trim().length() == 0) {
LOG.info("Invalid Employee: Name was not set");
- throw new InvalidEmployeeException("name not set");
+ throw new InvalidEmployeeException("Name darf nicht leer sein!");
}
if (employee.birthday() == null) {
LOG.info("Invalid Employee: Birthday was not set");
- throw new InvalidEmployeeException("birthday not set");
+ throw new InvalidEmployeeException("Geburtsdatum darf nicht leer sein!");
}
if (employee.educationLevel() == null) {
LOG.info("Invalid Employee: EducationLevel was not set");
- throw new InvalidEmployeeException("educationLevel not set");
+ throw new InvalidEmployeeException("Ausbildungsgrad darf nicht leer sein!");
}
return true;