The Trunk: Exceptions-cmm.19.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Exceptions-cmm.19.mcz

commits-2
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!