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
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
you just have an empty catch block
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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
I actually want to continue with the execution of the rest of the program
ASKER
Oh no it works... thanks...