View Single Post
  #1 (permalink)  
Old 11-18-2007, 08:16 PM
javaplus javaplus is offline
Member
 
Join Date: Nov 2007
Posts: 97
javaplus is on a distinguished road
when to use try...catch
When coding, there are some statements that need try .. catch block otherwise complier gives error and forces the coder to write such statements under try ... catch block.

How can I know, which statements should be written under try...catch block

Currently, when complier gives error, I then put that statement under try...catch.

Thanx.
Reply With Quote
Sponsored Links