#REFACTORING by stefan
authorStefan Vogel <sv@exept.de>
Fri, 19 Jan 2018 22:41:05 +0100
changeset 22496 0bfdeef77a63
parent 22495 3f54eb4abc4e
child 22497 bf423cee57dd
#REFACTORING by stefan class: Signal changed: #evaluate:ifRaised:
Signal.st
--- a/Signal.st	Fri Jan 19 22:40:18 2018 +0100
+++ b/Signal.st	Fri Jan 19 22:41:05 2018 +0100
@@ -903,13 +903,15 @@
      the evaluation and return the value from exceptionValue.
      This is similar to the catch & throw mechanism found in other languages"
 
-    ^ self handle:[:ex | exceptionValue value] do:aBlock.
+    ^ self handle:exceptionValue do:aBlock.
 
     "
      Object messageNotUnderstoodSignal
-	evaluate:[ 123 size open ]
-	ifRaised:[ self halt ]
+        evaluate:[ 123 size open ]
+        ifRaised:[ self halt ]
     "
+
+    "Modified: / 12-01-2018 / 17:46:55 / stefan"
 !
 
 handle:handleBlock do:aBlock