Under what circumstances will catch (...) not catch?
Under what circumstances will catch (...) not catch?
- Subject: Under what circumstances will catch (...) not catch?
- From: Larry Campbell <email@hidden>
- Date: Wed, 28 Nov 2007 18:16:06 -0500
In a large project that worked well under Tiger and Xcode 2.4, I'm
having a bizarre problem with Leopard and Xcode 3.0. In the following
snippet:
bool failed = false;
try {
minfo.read(instr);
} catch (...) {
failed = true;
}
minfo.read() is expected to throw an exception, and it does, but the
runtime acts as though there's no handler in scope and calls abort(),
rather than letting my handler run.
How can this be?
- lc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden