GenericException.st
branchjv
changeset 18084 ab5b38bd8f81
parent 18079 7b5afc0ad3d5
parent 15636 b9f4e2491f51
child 18086 33a050555eb1
--- a/GenericException.st	Mon Aug 19 23:30:27 2013 +0100
+++ b/GenericException.st	Tue Aug 20 00:07:19 2013 +0100
@@ -173,7 +173,8 @@
 
 initialize
     NotifierString := 'unknown exception'.
-    StrictRaising := false.     "set to true to check whether a signal may be raised proceedable"
+    "force strict signal checking in Smalltalk development - nobody cares otherwise"
+    StrictRaising := Smalltalk isStandAloneApp not.     "set to true to check whether a signal may be raised proceedable"
 
     "Modified: / 04-08-1999 / 09:06:26 / stefan"
     "Modified: / 17-11-2010 / 17:53:13 / cg"
@@ -1567,12 +1568,11 @@
 
     |con rCon|
 
-"/    proceedable ifFalse:[
-"/        "proceed from ProceedError to recover from this error"
-"/        ProceedError raiseRequestWith:self.
-"/        proceedable := true.
-"/    ].
-
+    (StrictRaising and:[proceedable not]) ifTrue:[
+        "proceed from ProceedError to recover from this error"
+        ProceedError raiseRequestWith:self.
+        proceedable := true.
+    ].
 
     thisContext evaluateUnwindActionsUpTo:suspendedContext.
 
@@ -2355,11 +2355,11 @@
 !GenericException class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libbasic/GenericException.st,v 1.143 2013-07-30 19:18:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/GenericException.st,v 1.144 2013-08-16 17:55:22 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libbasic/GenericException.st,v 1.143 2013-07-30 19:18:01 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libbasic/GenericException.st,v 1.144 2013-08-16 17:55:22 stefan Exp $'
 !
 
 version_HG