I have handled the exceptions in the catch block. But I'm not able to avoid the Assertion message box when an exception happens, though the control is transferred inside the catch block. How to get rid of it?