fixed exeptionname
Co-Authored-By: kasch309 <kasch309@users.noreply.github.com> Co-Authored-By: andibuls <andibuls@users.noreply.github.com> Co-Authored-By: xxnitram <xxnitram@users.noreply.github.com> Co-Authored-By: Talha Caliskan <killerber4t@users.noreply.github.com>
This commit is contained in:
@ -2,9 +2,9 @@ package mops.gruppen2.domain.exception;
|
||||
|
||||
import org.springframework.http.HttpStatus;
|
||||
|
||||
public class NoAdminAfterActionExeption extends EventException {
|
||||
public class NoAdminAfterActionException extends EventException {
|
||||
|
||||
public NoAdminAfterActionExeption (String info) {
|
||||
public NoAdminAfterActionException(String info) {
|
||||
super(HttpStatus.INTERNAL_SERVER_ERROR, "Nach dieser Aktion hätte die Gruppe keinen Admin mehr", info);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user