- MAValidationError is abstract
Use on of its subclasses.
- PRRemoveCommand >> #doValidate
super doValidate.
(self structure isRoot)
ifTrue: [ self error: 'Unable to remove root node.' ].
Damien is right, I am migrating all the sends to #error: to something
raising a subclass of MAValidationError, however there are still a
few places where that doesn't happen.
Because of some problems, I just wanted to ask if
self error: aMessage
is still the way to signal invalid input in a pier command in the
#doValidate method.
What is your exact problem? A lot of people seem to have troubles
there with lockups etc. I need to have a look at it ...
Lukas
--
Lukas Renggli
http://www.lukas-renggli.ch