[Pkg] The Trunk: Exceptions-cmm.19.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 12 17:04:24 UTC 2010


Chris Muller uploaded a new version of Exceptions to project The Trunk:
http://source.squeak.org/trunk/Exceptions-cmm.19.mcz

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

Name: Exceptions-cmm.19
Author: cmm
Time: 12 February 2010, 11:04:19.778 am
UUID: 4641de2b-739c-4020-bf72-47fe9e756952
Ancestors: Exceptions-ar.18

- Do not allow messageText to answer nil.  Exceptions can be signaled with no mesageText, and yet almost no code, anywhere, assumes it can be nil, sometimes causing breakage.

=============== Diff against Exceptions-ar.18 ===============

Item was changed:
  ----- Method: Exception>>messageText (in category 'printing') -----
  messageText
  	"Return an exception's message text."
+ 	^ messageText ifNil: [ String empty ]!
- 
- 	^messageText!



More information about the Packages mailing list