Refactor WrongFileException
This commit is contained in:
@ -4,6 +4,6 @@ import org.springframework.http.HttpStatus;
|
|||||||
|
|
||||||
public class WrongFileException extends EventException {
|
public class WrongFileException extends EventException {
|
||||||
public WrongFileException(String info) {
|
public WrongFileException(String info) {
|
||||||
super(HttpStatus.INTERNAL_SERVER_ERROR, "Die entsprechende Datei ist keine valide CSV-Datei!", info);
|
super(HttpStatus.BAD_REQUEST, "Die entsprechende Datei ist keine valide CSV-Datei!", info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user