forked from tom.biard/ScienceQuest
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…
Reference in new issue