From ff73e2f09657a9ab79115642bfdddc8b34646c07 Mon Sep 17 00:00:00 2001
From: Niklas Bretz <niklas.bretz@student.reutlingen-university.de>
Date: Mon, 12 Dec 2022 14:16:00 +0000
Subject: [PATCH] Exception messages translated

---
 Aufgabe3/ConsoleApplication1/Buffer.cs | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Aufgabe3/ConsoleApplication1/Buffer.cs b/Aufgabe3/ConsoleApplication1/Buffer.cs
index a7375fd..816b685 100644
--- a/Aufgabe3/ConsoleApplication1/Buffer.cs
+++ b/Aufgabe3/ConsoleApplication1/Buffer.cs
@@ -1,4 +1,4 @@
-using System;
+using System;
 using System.Collections.Generic;
 using System.Threading;
 
@@ -20,7 +20,7 @@ namespace ConsoleApplication1
         {
             if (carQueue.Count == size)
             {
-                throw new Exception("Buffer voll");
+                throw new Exception("Buffer full");
             }
             
 
@@ -31,7 +31,7 @@ namespace ConsoleApplication1
         {
             if (carQueue.Count == 0)
             {
-                throw new Exception("Buffer leer");
+                throw new Exception("Buffer empty");
             }
 
             return carQueue.Dequeue();
@@ -65,4 +65,4 @@ namespace ConsoleApplication1
 
 
     }
-}
\ No newline at end of file
+}
-- 
GitLab