Log Levels Java existing methods

Somewhat new to Java, and I’m working on Log Levels.
After finally getting stuck, I looked at the solutions. None of these solutions include the throw statements that come already in the exercise.
Are we intended to remove these, or work with them? How would I know this? Looking at the solutions I feel like these throw statements are confusing/unnecessary if all of the solutions involve replacing them.

Even when the exception message is “Please implement the (static) LogLevels.message() method”?