From 74e8f223b34c59e3867f263a9acfa911a64b8477 Mon Sep 17 00:00:00 2001 From: Alix JEUDI--LEMOINE Date: Thu, 21 Mar 2024 09:01:31 +0100 Subject: [PATCH] Ajout message + id --- .../sae/exceptions/notFound/UtilisateurNotFoundException.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SpringBootProject/src/main/java/fr/iut/sciencequest/sae/exceptions/notFound/UtilisateurNotFoundException.java b/SpringBootProject/src/main/java/fr/iut/sciencequest/sae/exceptions/notFound/UtilisateurNotFoundException.java index 2aca9a3..a3b50f9 100644 --- a/SpringBootProject/src/main/java/fr/iut/sciencequest/sae/exceptions/notFound/UtilisateurNotFoundException.java +++ b/SpringBootProject/src/main/java/fr/iut/sciencequest/sae/exceptions/notFound/UtilisateurNotFoundException.java @@ -1,7 +1,7 @@ package fr.iut.sciencequest.sae.exceptions.notFound; public class UtilisateurNotFoundException extends EntityNotFoundException{ - public UtilisateurNotFoundException() { - super(); + public UtilisateurNotFoundException(Object id) { + super("utilisateur", id); } }