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 0000000000000000000000000000000000000000..9824ff80fa23990340efbee8210519736a8a44ad --- /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())); + } +}