Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Exception identity
@ 1999-10-16  4:00 karthik
  0 siblings, 0 replies; only message in thread
From: karthik @ 1999-10-16  4:00 UTC (permalink / raw)


Hi,

  I have a try-catch block like this

    try
    {
      pvmethod();
    }
    catch(ExceptionRoot e)
    {
      // User defined exception
    }
    catch(...)
    {
      // Unknown exception
    }

This piece of code is executed in a separate thread. 'pvmethod' is pure
virtual. 'ExceptionRoot' is the root class of my exception hierarchy.

When I execute this code, it is entering the 'catch(...)' block. I would
like to know details about the exception being thrown. Since it is not
defined by me, how do I do it? The software has many other threads.
I am on a Digital Unix 4.0D machine and using version 6.2 of CXX.
The output of 'cxx -V' is

     Compaq C++ V6.2-024 for Digital UNIX V4.0D  (Rev. 878)

Can anybody help?


Sent via Deja.com http://www.deja.com/
Before you buy.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1999-10-16  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-10-16  4:00 Exception identity karthik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox