1

add MaxMemberException

Co-Authored-By: andibuls <andibuls@users.noreply.github.com>
Co-Authored-By: Lukas Ettel <lukasettel@users.noreply.github.com>
This commit is contained in:
tomvahl
2020-03-25 13:44:08 +01:00
parent cf685fb6ff
commit ddfd21c6ef
2 changed files with 16 additions and 7 deletions

View File

@ -0,0 +1,10 @@
package mops.gruppen2.domain.exception;
import org.springframework.http.HttpStatus;
public class NoMaximumMemberException extends EventException {
public NoMaximumMemberException(String info) {
super(HttpStatus.INTERNAL_SERVER_ERROR, "Es wurde keine maximale Gruppenanzahl festgelegt", info);
}
}