Board index » cppbuilder » try/catch nesting

try/catch nesting


2003-12-11 11:02:10 PM
cppbuilder17
for try / catch can i do this
try {
... something
}
catch (Exception &e)
{
log error
try {
clean up by doing something i am not sure will work
}
catch (Exception &e)
{
log serious error
}
}
thanks
joe
 
 

Re:try/catch nesting

"Joe beattie" < XXXX@XXXXX.COM >writes:
Quote
for try / catch can i do this

try {
}
catch (Exception &e)
{
try {
}
catch (Exception &e)
{
}
}
Yes.
--
Chris (TeamB);