added error Message for file reading error

This commit is contained in:
schrom01 2022-05-12 22:45:10 +02:00
parent 3ebf9c5072
commit ddfbb9bbd0
1 changed files with 4 additions and 4 deletions

View File

@ -51,11 +51,11 @@ public class FactoryDecorator implements IsObservable{
try {
factory.setTournament(fileIO.loadTournament(tournamentFile));
openScheduleView();
} catch (IOException e) {
clearMessage(false);
} catch (IOException | ClassNotFoundException e) {
e.printStackTrace();
} catch (ClassNotFoundException e) {
e.printStackTrace();
} //TODO handle and logging
printMessageToFooter("Fehler beim lesen der Datei.", true);
} //TODO handle and logging
}
public void openTournamentList() {