Hi,

I agree with u. Actually it was a test code. In original one
class is having some pointer data member. In the destructor
he is freeing the memory but doesn't assign the pointer to
NULL. So somehow he has assigned the object to someone
else, so that pointer has become a dangling one. I don't
want to change his overloaded = oparetor nor do i wanna
provide a copy ctor. So i wanna call delete, catch the exception
and cooly come out without any runtime error.

Thanx and Regards
Ram