help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Catching Runtime Exceptions


From: Hendrik Belitz
Subject: Re: Catching Runtime Exceptions
Date: Mon, 10 May 2004 11:42:10 +0200
User-agent: KNode/0.7.7

Kutty Banerjee wrote:

> Hi,
>  Is it possible using g++ under LINUX to catch segmentation faults, access
> violation, other OS exceptions by
> using catch(...) ? I know that MS VC++ has a mechanism whereby the above
> exceptions are called
> structured exceptions and can be caught not classified t hough, using
> catch(...) . was curious if there is something
> similar using G++.
> 
> kutty

Installing signal handlers which throw exceptions would be the most simple
solution for this on POSIX systems.

-- 
To get my real email adress, remove the two onkas
--
Dipl.-Inform. Hendrik Belitz
Central Institute of Electronics
Research Center Juelich


reply via email to

[Prev in Thread] Current Thread [Next in Thread]