[Qt-interest] How to handle exceptions in Qt

Santhosh Y santhosh at softjin.com
Wed Dec 16 18:30:27 CET 2009


Hi Andreas,

I understand  that only Signal handler can only catch such kind of 
exceptions.

But before being caught by signal handlers I want to cleanup () my object.

Can I do such kind of things?

Regards,
Santhosh
Andreas Pakulat wrote:
> Invalid Access to Memory cannot be caught with an exception (AFAIK). So
> there's no way to catch such null-pointer-stuff, except a signal handler,
> but from there you can just do a minimal dump of information and then error
> out.
>
> Andreas
>
>   


-- 
----------------------------------------------------
Y Santhosh Kumar - 
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________





More information about the Qt-interest-old mailing list