-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
🧠 Finals Q&AQuestions related to FinalsQuestions related to Finals
Description
Summary
I know that we should focus on the more specific exceptions to the least specific ones, but if they branch off from the same parent exception, can we clear one whole child exception first before starting on the next?
Description
For example, if we were to catch NoPermissionException, then catch WriteException, before catching ElementNotFoundException and Read Exception, will it be problematic/wrong in this case?
Screenshots (if any):
Metadata
Metadata
Assignees
Labels
🧠 Finals Q&AQuestions related to FinalsQuestions related to Finals