From b800d7d996c4e4035eb173776d736d0fb851cf8f Mon Sep 17 00:00:00 2001
From: Felix Kehrer <felix.kehrer@gmail.com>
Date: Fri, 25 May 2018 20:52:48 +0200
Subject: changed messages of InvalidEmployeeExceptions to german #27033

---
 .../groupphase/einsatzverwaltung/dto/EmployeeValidator.java         | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/main/java/at/ac/tuwien')

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;
-- 
cgit v1.2.3-70-g09d2