Re: Strong language about Cocoa and Qt.
Re: Strong language about Cocoa and Qt.
- Subject: Re: Strong language about Cocoa and Qt.
- From: Thomas Finley <email@hidden>
- Date: Tue, 1 Jul 2003 15:17:15 -0400
On Tuesday, July 1, 2003, at 01:37 PM, Rich Warren wrote:
Again, it's a case of Objective C acting differently than other
programs I'm
used to. In Java and C++ an uncaught exception kills the program. I
kind of
wish it was the other way around--that Objective C also stopped on
exceptions. I guess that fits squarely in with my other comments
(dynamic vs
static and private/public).
Uncaught exceptions do kill Objective-C programs. Cocoa's event loop
catches exceptions and writes them to the console, just like Java's awt
event loop. In a cocoa app, try sending a nonsense message to an
object in "main" before NSApplicationMain -- your application will die
horribly on sigtrap. :D
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.