Link to home
Start Free TrialLog in
Avatar of letsbedecent
letsbedecent

asked on

How To Escape an Exception.

Hi all,

           If i know an exception will arise and i want to ignore it, how to do that... ??
 
          do i write anything in the catch block to ignore that exception ??

Thanks
Avatar of Mick Barry
Mick Barry
Flag of Australia image

you just have an empty catch block
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of letsbedecent
letsbedecent

ASKER

but then it is printing the stack trace ... even if i leave the block empty..

I actually want to continue with the execution of the rest of the program
Oh no it works... thanks...