From: karthik@cdotd.ernet.in
Subject: Exception identity
Date: 1999/10/16 [thread overview]
Message-ID: <7ua6nr$f1s$1@nnrp1.deja.com> (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.
reply other threads:[~1999-10-16 4:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox