[squeak-dev] The Inbox: Exceptions-fbs.40.mcz

Frank Shearar frank.shearar at gmail.com
Wed Jan 30 18:46:22 UTC 2013


On 30 January 2013 18:33, Colin Putney <colin at wiresong.com> wrote:
>
>
> On Wed, Jan 30, 2013 at 4:26 AM, <commits at source.squeak.org> wrote:
>
>>
>> + Error subclass: #NotImplementedError
>>
>> + NotImplementedError subclass: #NotYetImplemented
>>
>> + NotImplementedError subclass: #SubclassResponsibilityError
>
>
>
> The usual naming convention for exceptions is to omit the the "Error" part
> of the name (e.g., MessageNotUnderstood). So these new exceptions ought to
> be:
>
> NotImplemented
> NotYetImplemented
> SubclassResponsibility
>
> Otherwise, looks great!

Hm, OK. I named them that way thinking that was the convention. But
sure, I'd prefer to nix the Error prefix. Ah, I think I may have got
this idea from the Notification hierarchy. Maybe?

frank

> Colin
>
>
>


More information about the Squeak-dev mailing list