1

add exception

This commit is contained in:
tomvahl
2020-03-19 15:30:19 +01:00
parent 1a5dc2571a
commit a1e976a805
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,11 @@
package mops.gruppen2.domain.exception;
import org.springframework.http.HttpStatus;
public class GroupFullException extends EventException {
public GroupFullException(String info) {
super(HttpStatus.INTERNAL_SERVER_ERROR, "Der User existiert bereits.", info);
}
}