Andreas Raab uploaded a new version of Exceptions to project The Trunk:
http://source.squeak.org/trunk/Exceptions-ar.31.mcz==================== Summary ====================
Name: Exceptions-ar.31
Author: ar
Time: 14 December 2010, 12:11:46.173 am
UUID: 91249bee-7231-6a4f-b16c-aa3ca037c925
Ancestors: Exceptions-ar.30
Experimental. Adds NaNError, an error raised when a computation results in, or operates on, NaN.
=============== Diff against Exceptions-ar.30 ===============
Item was added:
+ ArithmeticError subclass: #NaNError
+ instanceVariableNames: ''
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'Exceptions-Kernel'!
+
+ !NaNError commentStamp: 'ar 12/14/2010 00:03' prior: 0!
+ NaNError is signaled by various operations that would either result in or operate on an NaN input.!
Item was added:
+ ----- Method: NaNError>>isResumable (in category 'testing') -----
+ isResumable
+ "NaNError is always resumable"
+ ^true!
Item was added:
+ ----- Method: NaNError>>messageText (in category 'accessing') -----
+ messageText
+ "Return an exception's message text."
+
+ ^messageText ifNil:['This operation would result in NaN ']!