help-smalltalk
[Top][All Lists]
Advanced

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

Re: [Help-smalltalk] What to do with this backtrace: VFS.VFSHandler name


From: Stephen Compall
Subject: Re: [Help-smalltalk] What to do with this backtrace: VFS.VFSHandler nameIn: ''!
Date: Thu, 07 Sep 2006 14:34:27 -0500
User-agent: Thunderbird 1.5.0.5 (Macintosh/20060719)

Bram Neijt wrote:
> Hi, I've got the following backtrace I don't know how to handle:
> 
> VFS.VFSHandler nameIn: ''!
> 
> Gives the backtrace:
> Object: #VFS error: did not understand #between:and:
> <snip #doesNotUnderstand: chain>
> String(SequenceableCollection)>>#at:ifAbsent:
> Namespace>>#nameIn:
> VFS.VFSHandler class(ClassDescription)>>#nameIn:
> UndefinedObject>>#executeStatements
> 
> How can I find the class name and overcome this problem? It works for
> other classes just fine (for example: String nameIn: ''!)

nameIn:'s argument is an AbstractNamespace, not a string.  This just
happens to work for the case you mention because SystemDictionary's
nameIn: method (which happens to be used for classes in Smalltalk)
ignores its aNamespace argument.

-- 
Stephen Compall
http://scompall.nocandysw.com/blog




reply via email to

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