forked from tom.biard/ScienceQuest
parent
fa5883ceb2
commit
f655f37284
@ -1,2 +1,11 @@
|
||||
package fr.iut.sciencequest.sae.exceptions.notFound;public class InviteNotFoundException {
|
||||
package fr.iut.sciencequest.sae.exceptions.notFound;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
import org.springframework.web.bind.annotation.ResponseStatus;
|
||||
|
||||
@ResponseStatus(HttpStatus.NOT_FOUND)
|
||||
public class InviteNotFoundException extends EntityNotFoundException{
|
||||
public InviteNotFoundException(String id) {
|
||||
super("Invite", id);
|
||||
}
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
package fr.iut.sciencequest.sae.exceptions.notFound;
|
||||
|
||||
public class DifficulteNotFoundException extends EntityNotFoundException{
|
||||
public DifficulteNotFoundException(int id) {
|
||||
super("Difficulté", id);
|
||||
public class JeuNotFoundException extends EntityNotFoundException{
|
||||
public JeuNotFoundException(int id) {
|
||||
super("Jeu", id);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue