I just noticed that the football-match-reports
concept exercise expects the student to throw an IllegalArgumentException
in one of its tasks, while the exceptions
concept isn’t unlocked at that time yet. Adding exceptions
as a prerequisite isn’t possible, because this would introduce a circular dependency between the football-match-reports
and calculator-conundrum
exercises.
I see two possible ways to resolve this:
- Remove the use of exceptions from the
football-match-reports
exercise - Remove the use of switch statements from the
calculator-conundrum
exercise
Which option to choose IMO depends on the syllabus design: which concept should be introduced first to a user, exceptions or switch statements?