Unmatching methods/calls.
Marcus Denker
denker at iam.unibe.ch
Tue Apr 26 14:40:17 UTC 2005
Hi,
Am 26.04.2005 um 16:26 schrieb François THIMON:
> Hi.
> Something really annoying in squeak is you often find invokations of
> methods
> that don't exist. Just to give some examples, I found : WriteStream
> on:(String
> new:128) in XMLTokenizer class but though, no on: method is present
> amongst the
> static methods of WriteStream.
You need to look into the superclasses, too.
> I also found some examples in socket classes that
> I needed to correct by myself to get them to work.
> Why isn't there any method available in XMLParser? They do but call
> subclassResponsibility!
>
A Class that has methods with "self subclassResponsibility" tells you
that
you are not supposed to use this class, but a subclass of it.
Marcus
More information about the Squeak-dev
mailing list
|