[squeak-dev] The Inbox: Kernel-fbs.736.mcz

commits at source.squeak.org commits at source.squeak.org
Wed Jan 30 20:05:15 UTC 2013


Frank Shearar uploaded a new version of Kernel to project The Inbox:
http://source.squeak.org/inbox/Kernel-fbs.736.mcz

==================== Summary ====================

Name: Kernel-fbs.736
Author: fbs
Time: 30 January 2013, 8:04:08.926 pm
UUID: 1d99c937-4c68-475c-987b-2990c8040c29
Ancestors: Kernel-fbs.735

Rename NotImplemented errors in line with conventions 2 of 3.

=============== Diff against Kernel-fbs.735 ===============

Item was changed:
  ----- Method: Object>>shouldBeImplemented (in category 'error handling') -----
  shouldBeImplemented
  	"Announce that this message should be implemented"
  
+ 	^ NotImplemented signal: ('{1} or a superclass should implement {2}' format: {self className. thisContext sender selector})!
- 	^ NotImplementedError signal: ('{1} or a superclass should implement {2}' format: {self className. thisContext sender selector})!

Item was changed:
  ----- Method: Object>>shouldNotImplement (in category 'error handling') -----
  shouldNotImplement
  	"Announce that, although the receiver inherits this message, it should 
  	not implement it."
  
+ 	NotImplemented signal: ('{1} is not a message appropriate for a {2}' format: {thisContext sender selector. self className}).!
- 	NotImplementedError signal: ('{1} is not a message appropriate for a {2}' format: {thisContext sender selector. self className}).!

Item was changed:
  ----- Method: Object>>subclassResponsibility (in category 'error handling') -----
  subclassResponsibility
  	"This message sets up a framework for the behavior of the class' subclasses.
  	Announce that the subclass should have implemented this message."
+ 	^ SubclassResponsibility
- 	^ SubclassResponsibilityError
  		signal: ('My {1} subclass should have overridden {2}'
  			format: {self className. thisContext sender selector}).!



More information about the Squeak-dev mailing list