[squeak-dev] The Trunk: Exceptions-nice.33.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Apr 22 23:19:02 UTC 2011


Nicolas Cellier uploaded a new version of Exceptions to project The Trunk:
http://source.squeak.org/trunk/Exceptions-nice.33.mcz

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

Name: Exceptions-nice.33
Author: nice
Time: 23 April 2011, 1:14:16.581 am
UUID: b85063de-187d-477d-8eed-670caf252a7c
Ancestors: Exceptions-kb.32

Add a DomainError for the mathematical functions.
This gives a chance to catch this specific error for those wanting to extend some functions in Complex.

=============== Diff against Exceptions-kb.32 ===============

Item was added:
+ ArithmeticError subclass: #DomainError
+ 	instanceVariableNames: ''
+ 	classVariableNames: ''
+ 	poolDictionaries: ''
+ 	category: 'Exceptions-Kernel'!
+ 
+ !DomainError commentStamp: 'nice 4/20/2011 22:13' prior: 0!
+ A DomainError is an error occuring when a mathematical function is used outside its domain of validity.!




More information about the Squeak-dev mailing list