[Openmcl-devel] objc exception handling
yversley at gmx.de
Sun Feb 23 08:11:19 EST 2003
When a (native) Objective-C class raises an exception (for instance with
[ (@ "string" ) "foobar" ] when there is no method "foobar"), OpenMCL just
exits after the error has been logged. It would be much more comfortable
(and less frustrating too) if we could intercept these objc exceptions
and raise a condition that could then be handled with normal mechanisms.
Normal exception handling in ObjC works using _setjmp/_longjmp in
conjunction with NSAddHandler/NSRemoveHandler. Is it possible to use
_setjmp with lisp code?
Openmcl-devel mailing list
Openmcl-devel at clozure.com
More information about the Openmcl-devel