added card
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user