Suppose you are writing a server-client application where the user has to input their age to register. Your goal is to handle incorrect inputs like "13u", "1003", "5o"; no more actions are required. Which strategy will you choose?
Custom exceptions
Handle incorrect inputs
Report a typo
Select one option from the list
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
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.