1

Add exceptions for csv errors

This commit is contained in:
XXNitram
2020-03-19 16:51:40 +01:00
parent dc11536db3
commit cd1d7183e7
2 changed files with 25 additions and 2 deletions

View File

@ -0,0 +1,9 @@
package mops.gruppen2.domain.exception;
import org.springframework.http.HttpStatus;
public class WrongFileException extends EventException {
public WrongFileException(String info) {
super(HttpStatus.INTERNAL_SERVER_ERROR, "Die entsprechende Datei ist keine valide CSV-Datei!", info);
}
}