Frank Shearar uploaded a new version of Exceptions to project The Inbox:
http://source.squeak.org/inbox/Exceptions-fbs.43.mcz==================== Summary ====================
Name: Exceptions-fbs.43
Author: fbs
Time: 5 February 2013, 11:06:32.257 pm
UUID: 1a5409d5-3bfb-4728-9945-6898e8c3adca
Ancestors: Exceptions-cmm.37
Backported From: Exceptions-fbs.42
Stay in the debugger for longer. Part 2 of 3.
New exception hierarchy lets interesting parties catch NotImplemented errors to encourage developers to implement missing parts.
=============== Diff against Exceptions-cmm.37 ===============
Item was changed:
+ NotImplemented subclass: #MessageNotUnderstood
- Error subclass: #MessageNotUnderstood
instanceVariableNames: 'message receiver reachedDefaultHandler'
classVariableNames: ''
poolDictionaries: ''
category: 'Exceptions-Kernel'!
!MessageNotUnderstood commentStamp: '<historical>' prior: 0!
This exception is provided to support Object>>doesNotUnderstand:.!
Item was added:
+ Error subclass: #NotImplemented
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Exceptions-Kernel'!
Item was changed:
+ NotImplemented subclass: #NotYetImplemented
- Error subclass: #NotYetImplemented
instanceVariableNames: 'receiverClass selector context'
classVariableNames: ''
poolDictionaries: ''
category: 'Exceptions-Kernel'!
!NotYetImplemented commentStamp: 'jcg 10/21/2009 01:20' prior: 0!
Sent by #notYetImplemented. Better than the age-old behavior of opening a notifier window, because this can be caught and handled.
!
Item was removed:
- ----- Method: NotYetImplemented>>defaultAction (in category 'handling') -----
- defaultAction
- self inform: 'Not yet implemented (', self messageText, ')'!
Item was added:
+ NotImplemented subclass: #SubclassResponsibility
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Exceptions-Kernel'!
+
+ !SubclassResponsibility commentStamp: 'fbs 1/26/2013 00:20' prior: 0!
+ I am signalled when a subclass fails to implement an "abstract method" and something sends an instance of this subclass the unimplemented message.!