conversion errors (specific error classes)
authorClaus Gittinger <cg@exept.de>
Wed, 06 Aug 2008 12:26:45 +0200
changeset 11133 ea09899d310c
parent 11132 e5bd3a66ca80
child 11134 42537fdb424e
conversion errors (specific error classes)
ArithmeticValue.st
--- a/ArithmeticValue.st	Wed Aug 06 12:26:35 2008 +0200
+++ b/ArithmeticValue.st	Wed Aug 06 12:26:45 2008 +0200
@@ -80,22 +80,6 @@
     ^ ArithmeticError
 !
 
-conversionErrorSignal
-    "return the signal which is raised when a conversion fails
-     (such as when a NaN is to be converted)"
-
-    ^ ConversionError
-
-    "
-     ConversionError handle:[:ex |
-	Transcript flash
-     ]
-     do:[
-	(0.0 uncheckedDivide:0.0) asFraction
-     ]
-    "
-!
-
 divisionByZeroSignal
     "return the signal which is raised on division by zero"
 
@@ -213,7 +197,6 @@
     ^ self == ArithmeticValue
 ! !
 
-
 !ArithmeticValue methodsFor:'arithmetic'!
 
 * something
@@ -1295,7 +1278,7 @@
 !ArithmeticValue class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticValue.st,v 1.77 2008-03-10 09:26:03 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticValue.st,v 1.78 2008-08-06 10:26:45 cg Exp $'
 ! !
 
 ArithmeticValue initialize!