Develop footer #51
@@ -85,7 +85,7 @@ public class TournamentDecorator implements IsObservable{
|
|||||||
} catch (Tournament.InvalidTypeException e) {
|
} catch (Tournament.InvalidTypeException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
//TODO: Logger
|
//TODO: Logger
|
||||||
factoryDecorator.printMessageToFooter("Turniermodus nicht möglich",true);
|
factoryDecorator.printMessageToFooter("Turniermodus nicht moeglich",true);
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
@@ -113,7 +113,7 @@ public class TournamentDecorator implements IsObservable{
|
|||||||
factoryDecorator.clearMessage(true);
|
factoryDecorator.clearMessage(true);
|
||||||
} catch (Tournament.NumberOfParticipantInvalidException e) {
|
} catch (Tournament.NumberOfParticipantInvalidException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
factoryDecorator.printMessageToFooter("Anzahl Teilnehmer nicht vielfaches von 2",true);
|
factoryDecorator.printMessageToFooter("Anzahl Teilnehmer muss mindestens 4 betragen und eine Potenz von 2 sein.",true);
|
||||||
}
|
}
|
||||||
informListener();
|
informListener();
|
||||||
}
|
}
|
||||||
@@ -131,7 +131,7 @@ public class TournamentDecorator implements IsObservable{
|
|||||||
factoryDecorator.printMessageToFooter("Invalide Telefonnummer",true);
|
factoryDecorator.printMessageToFooter("Invalide Telefonnummer",true);
|
||||||
} catch (Player.InvalidDateException e) {
|
} catch (Player.InvalidDateException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
factoryDecorator.printMessageToFooter("Ungültiges Geburtsdatum", true);
|
factoryDecorator.printMessageToFooter("Ungueltiges Geburtsdatum", true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user