From 4dd1541b189e58c83e963bc64192b2638953b8eb Mon Sep 17 00:00:00 2001
From: msiStefan <ss576@hdm-stuttgart.de>
Date: Wed, 27 Dec 2023 18:05:22 +0100
Subject: [PATCH] added MatchIdNotFoundException #25

---
 .../sthbackend/exeptions/MatchIdNotFoundException.java | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100644 sth-backend/src/main/java/hdm/mi/sthbackend/exeptions/MatchIdNotFoundException.java

diff --git a/sth-backend/src/main/java/hdm/mi/sthbackend/exeptions/MatchIdNotFoundException.java b/sth-backend/src/main/java/hdm/mi/sthbackend/exeptions/MatchIdNotFoundException.java
new file mode 100644
index 0000000..9824ff8
--- /dev/null
+++ b/sth-backend/src/main/java/hdm/mi/sthbackend/exeptions/MatchIdNotFoundException.java
@@ -0,0 +1,10 @@
+package hdm.mi.sthbackend.exeptions;
+
+import java.util.UUID;
+
+public class MatchIdNotFoundException extends Exception{
+
+    public MatchIdNotFoundException(UUID matchId){
+        super(String.format("MatchID %s not found", matchId.toString()));
+    }
+}
-- 
GitLab