added card

This commit is contained in:
helori_ollivier
2025-12-04 19:47:59 +01:00
parent 524110216f
commit 783997098b
6 changed files with 119 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
package bzh.sudchat.uno.exceptions;
public class CardNotFoundException extends RuntimeException {
public CardNotFoundException(String message) {
super(message);
}
public CardNotFoundException(int id) {
super("Card with id " + id + " not found");
}
}