gnustep-dev
[Top][All Lists]
Advanced

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

Re: Problem implementing faults in Objective-C


From: Jeremy Bettis
Subject: Re: Problem implementing faults in Objective-C
Date: Tue, 21 Jun 2005 10:46:11 -0500

----- Original Message ----- From: "Frederic Stark" <address@hidden>
To: <address@hidden>; <address@hidden>
Sent: Tuesday, June 21, 2005 6:12 AM
Subject: Problem implementing faults in Objective-C


: Uncaught exception NSInvalidArgumentException, reason: B(instance) does not recognize method1:

Ugh nasty hackery.  Never ever edit your isa pointer. Try doing things right

- (void)forwardInvocation:(NSInvocation *)anInvocation
{
   B* theRealObj = [B new];
   [anInvocation setTarget:theRealObj];
   [anInvocation invoke];
}





reply via email to

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