Exceptions creating Exceptional Problems!

Mayank Jain <[email protected]> Sat, 8 Jan 2005 18:35:25 -0500
Newsgroups gmane.user-groups.linux.delhi.devel
Message-ID <[email protected]>
Hi all

I'm facing a strange problem in C++ exceptions.

If an error occurs in a class, throw() is used. But whenever that
happens, the object is destroyed.

In a nutshell, accessing the object in which exception occured is not
being possible in catch block.

Either i'm interpreting the things wrongly, or is it a limitation...

Please suggest some workaround AND|OR clear my mis-interpretation.

A more detailed version of my question can be found at my blog...
http://makuchaku.blogspot.com/2005/01/exceptions-creating-exceptional.html

Pls reply asap...

Thanks,
makuchaku

---
http://makuchaku.blogspot.com
#gnutech [at] nl.chatjunkies.org
---
Linux... Life... Freedom...