Ajout exception mot de passe incorrect

Springboot
Alix JEUDI--LEMOINE 1 year ago
parent df08e97866
commit e9c5b9e110

@ -0,0 +1,11 @@
package fr.iut.sciencequest.sae.exceptions;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.FORBIDDEN)
public class IncorrectPasswordException extends RuntimeException {
public IncorrectPasswordException() {
super("Incorrect password");
}
}
Loading…
Cancel
Save