Improving exception handling ?

Posted by n00b on Programmers See other posts from Programmers or by n00b
Published on 2011-02-17T13:10:51Z Indexed on 2011/02/17 15:33 UTC
Read the original article Hit count: 280

Filed under:
|

Hello, I am a newbie programmer and I recently started learning about exception handling in Java.

I know what try, catch and finally blocks do, but I really need to understand how to use them well and where to handle something in the call stack...

I have a project right now that involves I/O and all I'm doing is handling the exception in the lowest possible method in the call stack.

I'm sure my exception handling can be improved, so I'm asking you guys how you think of exception handling?

How did you guys get good at this and how can I better wrap my head around this idea?

© Programmers or respective owner

Related posts about java

Related posts about exceptions