Try and catch error trapping. why is it so significant

Posted by oded on Programmers See other posts from Programmers or by oded
Published on 2014-08-25T16:02:51Z Indexed on 2014/08/25 16:27 UTC
Read the original article Hit count: 1176

Filed under:
|

sorry if it sounds dumb ' as i am i a process of learnning java

i try to understand , why on earth i should "try" a method to catch errors. it looks to me like the concept is:- ' letting a process run assuming its not properly developed.

should i always assume that a program based on classes and inheritance is bound for unexpected errors, which i should handle with such a heavy tools like try catch throw throws ?

should all java programs be included withing try catch framework?

Thanks

Oded.

© Programmers or respective owner

Related posts about java

Related posts about error-handling