use #creator instead of #signal
authorClaus Gittinger <cg@exept.de>
Fri, 19 Apr 2013 10:41:12 +0200
changeset 15113 20b7764bc56a
parent 15112 2c2a8ff9c25a
child 15114 77142b5c937a
use #creator instead of #signal (avoid semantic conflict with ANSI, where signal means: raise)
Signal.st
--- a/Signal.st	Fri Apr 19 10:40:19 2013 +0200
+++ b/Signal.st	Fri Apr 19 10:41:12 2013 +0200
@@ -169,6 +169,14 @@
     "Modified: / 4.8.1999 / 08:10:09 / stefan"
 ! !
 
+!Signal methodsFor:'Compatibility-ANSI'!
+
+signalWith:messageText
+    "ANSI compatibility"
+
+    self raiseErrorString:messageText
+! !
+
 !Signal methodsFor:'Compatibility-VW'!
 
 messageText:aString
@@ -447,7 +455,7 @@
 
     |signal|
 
-    signal := anException signal.
+    signal := anException creator.
 
     self == signal ifTrue:[^ true].               "quick check"
     anException isNotification ifTrue:[^ false].  "speed up queries by not traversing the parent chain"
@@ -793,12 +801,6 @@
         raiseWith:aParameter in:aContext
 
     "Modified: / 10-08-2010 / 10:03:05 / cg"
-!
-
-signalWith:messageText
-    "ANSI compatibility"
-
-    self raiseErrorString:messageText
 ! !
 
 !Signal methodsFor:'save evaluation'!
@@ -978,10 +980,10 @@
 !Signal class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/Signal.st,v 1.110 2013-03-26 14:20:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Signal.st,v 1.111 2013-04-19 08:41:12 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/Signal.st,v 1.110 2013-03-26 14:20:07 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/Signal.st,v 1.111 2013-04-19 08:41:12 cg Exp $'
 ! !