How do we throw an exception correctly?
Exceptions
Throwing exceptions
Report a typo
Select one option from the list
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.