Re: Error reporting in Cocoa (was Re: Exception not being caught)

2011-03-22 Thread Kyle Sluder
On Tue, Mar 22, 2011 at 8:07 AM, A.M. wrote: > I am curious as to how you would propose to add error: handlers to DO calls > considering that DO is meant to transparent and cannot modify method > signatures. For example, assuming you were designing a new DO framework, how > would you propose ch

Re: Error reporting in Cocoa (was Re: Exception not being caught)

2011-03-22 Thread A.M.
On Mar 21, 2011, at 10:24 PM, Chris Hanson wrote: > Ultimately, the solution will be to modify HessianKit -- or any other > framework that presents an RPC-style interface[1] -- to follow the Cocoa > convention of returning BOOL (or a non-nil/nil object reference) to indicate > success or failu

Re: Error reporting in Cocoa (was Re: Exception not being caught)

2011-03-21 Thread Rick Mann
On Mar 21, 2011, at 7:24 PM, Chris Hanson wrote: > The reason is that if your exception crosses any stack frame you don’t fully > control, all bets are off when it comes to the state of your program. The > frameworks have all been written with the assumption that exceptions are only > for cat