[Top][All Lists]

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

Re: Unimplemented methods

From: Adam Fedor
Subject: Re: Unimplemented methods
Date: Mon, 19 Nov 2001 08:22:39 -0700
User-agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.4) Gecko/20010915

Philippe C.D. Robert wrote:


would it be possible to raise an exception whenever a method is invoked which is not yet implemented (in GNUstep)? Ie. NSWorkspace's - (NSImage *) iconForFileType: (NSString *)fileType
and similar methods which return nil in all cases.... This would help a lot!

That's probably a good idea where appropriate (use NSObject's -notImplemented). At the very least we should print a log message.

Adam Fedor, Digital Optics            | Fudd's law of opposition: Push
address@hidden     | something hard enough, and it
address@hidden | will fall over.

reply via email to

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