bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSProxy forward invocation


From: Stefan Urbanek
Subject: NSProxy forward invocation
Date: Sat, 14 May 2005 18:18:07 +0200

The NSProxy forwardInvocation looks like:

- (void) forwardInvocation: (NSInvocation*)anInvocation
{
  [NSException raise: NSInvalidArgumentException
              format: @"NSProxy should not implement '%s'",
                                GSNameFromSelector(_cmd)];
}

I think that the message should be rather something like:
              format: @"NSProxy does not implement '%s'. Subclasses
should implement the method.",

at first look, the original message is a bit confusing, as I first
thought, that I should not implement that method too.

Regards,

Stefan
-- 
http://stefan.agentfarms.net

First they ignore you, then they laugh at you, then they fight you, then
you win.
- Mahatma Gandhi






reply via email to

[Prev in Thread] Current Thread [Next in Thread]