[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NSDistantObjectRequest
From: |
Richard Frith-Macdonald |
Subject: |
Re: NSDistantObjectRequest |
Date: |
Sun, 9 Dec 2001 09:12:02 +0000 |
On Sunday, December 9, 2001, at 06:53 AM, Jay McCarthy wrote:
I dont see how or why this would be useful, and I dont understand how
replyWithException would be implemented.
The code that I am porting uses it in a subclass of NSDistantObject ( i
think, i am not at the office with that code so I can't check), in such
a way that it looks like it just needs the replyWithException to tell
the distant object that it is asking for a method (or object) that does
not exist. (it's in the else of a test for nil)
If all you need to do is get an exception raised in the client process,
you can just do '[NSException raise: ... format: ...];' in the server.