Fibinger Ádám
2019-03-11 94fead6be729cfb23b657d853c5499709a3d27c4
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package hu.unr.fiber.cardapi.hibernate;
 
import hu.unr.fiber.cardapi.interfaces.CardInterface;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
 
@ResponseStatus(value = HttpStatus.BAD_REQUEST)
public class CardInvalidUpdateException extends Exception {
    CardInterface card;
 
    public CardInvalidUpdateException(String message, CardInterface modifiedCard) {
        super(message);
        this.card = modifiedCard;
    }
}