🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.win32
Article #2072

Re: MSVC++ 2.2 exception handling

#2072
From: ROLAND KAUFMANN
Date: Tue, 17 Oct 1995 10:23
16 lines
1470 bytes
In article <45vmbp$8kf@kaleka.seanet.com>, Michael Falcon-Gates <mgates@mgates.seanet.com> writes:
> Paul Stephenson <paul.stephenson@ebu.ericsson.se> wrote:
>> siv_941268@debet.nhh.no (ROLAND KAUFMANN) wrote:
>> >Any kind of exception is caught in this clause. It is the
>> >exception-equivalent of the 'else' statement.
>> Yes, I realize that.  I'm asking a question about the behavior of the 
>> runtime system.  It appears to throw an exception upon an access 
>> violation.  If I know the type of that exception, I can write a separate 
>> handler to catch it rather than relying on the "catch any" handler.
> Oh, boy! (I love this one.) There are two completely separate 
> exception handling mechanisms going on here. If you use the C++ 
> "catch" keyword, the only way you can catch operating-system
> exception is to use catch (...), and you can get no information
You can setup an exception handler for the system exceptions and use it
to throw C++ exception, see message 23152 in
comp.os.ms-windows.win32.programmer
Technical Details
Message-ID: <1995Oct17.112305.5214@debet>
Path: arc1-ca.pugleaf.net!nntp-trd.UNINETT.no!debet!siv_941268
References: <45k7j5$9rh@cnn.exu.ericsson.se> <1995Oct13.155228.5193@debet> <45vmbp$8kf@kaleka.seanet.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!nntp-trd.UNINETT.no!debet!siv_941268
From: siv_941268@debet.nhh.no (ROLAND KAUFMANN)
Newsgroups: comp.os.ms-windows.programmer.win32,comp.lang.c++
Subject: Re: MSVC++ 2.2 exception handling
Message-ID: <1995Oct17.112305.5214@debet>
Date: 17 Oct 95 11:23:05 MET
References: <45k7j5$9rh@cnn.exu.ericsson.se> <1995Oct13.155228.5193@debet> <45vmbp$8kf@kaleka.seanet.com>
Organization: Norwegian School of Economics