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.