Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!mcvax!kth!sunic!ericom!erix.ericsson.se!euas10.ericsson.se!euakem From: euakem@euas10.ericsson.se (Magnus Kempe) Newsgroups: comp.lang.c++ Subject: Exceptions in C++ Message-ID: <2087@erix.ericsson.se> Date: 21 Jul 89 08:14:47 GMT Sender: news@erix.ericsson.se Reply-To: euakem@euas10.ericsson.se (Magnus Kempe) Organization: Ellemtel Utvecklings AB, Stockholm, Sweden Lines: 19 How would one go about implementing exceptions in C++? I am particularly interested in the functionnality offered by Ada exceptions - or better.. - i.e. raising exceptions, and catching them, not necessarily in the same routine. If it is possible to do, is it: i) clean -- i.e. easy to understand and easy to use ii) portable -- i.e. independent of the machine *and* of the compiler iii) efficient -- i.e. not run-time overhead when no exception is raised If not possible, why? Is there a way to simulate it? Please e-mail to me, I'll summarize to the net. Thanks in advance, Magnus, euakem@euas10.ericsson.se Good Premises, -- Magnus euakem@euas10.ericsson.se