#doValidate
Lukas Renggli
renggli at students.unibe.ch
Sat Nov 26 13:46:30 MET 2005
Sorry for not answering, I am currently in Hamburg and don't have the
laptop not with me. You'll have to wait till monday :-)
Cheers,
Lukas
Zitat von Philippe Marschall <philippe.marschall at gmail.com>:
>> YourCommand>>validate
>> MAValidationError on: self
>>
>> Or one of the subclasses
>
> Are you really sure about this?
> - I can see no #validate in the command hierarchy, #exceute still
> sends #doValdiate
> - MAValidationError is abstract
> - PRRemoveCommand >> #doValidate
> super doValidate.
> (self structure isRoot)
> ifTrue: [ self error: 'Unable to remove root node.' ].
>
> #error: is the one from Object
>
>
--
Lukas Renggli
http://www.lukas-renggli.ch
More information about the SmallWiki
mailing list