Re: Exception handler

"Baptiste Lepilleur" <[email protected]> Wed, 26 Feb 2003 08:42:33 +0100
Newsgroups gmane.comp.lib.cppunit.devel
Message-ID <008e01c2dd6a$a13b5fd0$af50c3d4@lain>
Give a look to class Protector (available since 1.9.10). It allow
interception of non STL exception. Check the implementation of the
DefaultProtector for an example of usage.

Baptiste.

----- Original Message -----
From: "Noel Yap" <Noel.Yap-/PgpppG8B+R7qynMiXIxWgC/[email protected]>
To: <[email protected]>
Sent: Tuesday, February 25, 2003 7:00 PM
Subject: [Cppunit-devel] Exception handler


> In our project, we typically inherit from one of our base exception
> types.  It would be nice to be able to register with CppUnit an
> exception handler that would call a method on our exception.
>
> I've looked through the source and it doesn't look like this is possible
> currently.  Can this be put on the TODO list, please?  (I'll see if I
> can work on it if I get some free time).
>
> Thanks,
> Noel
> --
> NOTICE: If received in error, please destroy and notify sender.  Sender
> does not waive confidentiality or privilege, and use is prohibited.
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Cppunit-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/cppunit-devel
>



-------------------------------------------------------
This SF.net email is sponsored by: Scholarships for Techies!
Can't afford IT training? All 2003 ictp students receive scholarships.
Get hands-on training in Microsoft, Cisco, Sun, Linux/UNIX, and more.
www.ictp.com/training/sourceforge.asp