forked from tom.biard/ScienceQuest
parent
43b077c6f5
commit
3750490f07
@ -1,2 +1,12 @@
|
||||
package fr.iut.sciencequest.sae.exceptions;public class PartyAlreadyStartedException {
|
||||
package fr.iut.sciencequest.sae.exceptions;
|
||||
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||
|
||||
@ResponseStatus(HttpStatus.FORBIDDEN)
|
||||
public class PartyAlreadyStartedException extends RuntimeException {
|
||||
public PartyAlreadyStartedException() {
|
||||
super("Party already started");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue