+ 5
What strategies do you use to determine that exception handling is needed?
Exception Handling
3 Respuestas
+ 5
try/catch/finally block maybe...
+ 3
Thanks @Vukan I do get that/when exception handling is necessary, I think what I'm looking for is a methodology or approach to predicting an exceptional case may occur. After writing some code is there a set of questions you ask yourself, maybe a checklist that you go through, that causes you to think this may cause an error? How do you go about identifying what those exceptions may be?
+ 2
Also thanks @Ace.