On Aug 2, 2008, at 10:43 AM, Sean Allen wrote:

if I have class foo that is meant to only be descended from,
never instantiated directly. and it has method bar that needs
to made concrete by its descendents, what is the standard idiom for
that?

is there a specific error that should be thrown or just:

foo
 self error: 'any old error here'

is there a particular error that is common practice to use?

You can do

        foo

                self subclassResponsibility

in such cases.

Ben Schroeder

_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to