Compare commits
No commits in common. "293043adeae1e9c317a5f6af2b45f9d68937de6e" and "06e79683c5820c4a7d3e5cca2acfb9472c8a79bd" have entirely different histories.
293043adea
...
06e79683c5
|
@ -20,7 +20,6 @@ public class Kartenstapel {
|
|||
Collections.shuffle(stapel);
|
||||
}
|
||||
|
||||
// Hier wird die geforderte RuntimeException geworfen.
|
||||
public Karte zieheKarte() {
|
||||
if (stapel.isEmpty()) {
|
||||
throw new RuntimeException("Alle Karten wurden bereits gezogen.");
|
||||
|
|
Loading…
Reference in New Issue