#FEATURE
authorClaus Gittinger <cg@exept.de>
Fri, 11 Mar 2016 16:58:26 +0100
changeset 19344 7ca957505652
parent 19343 caaf70800937
child 19345 e2526c51d771
#FEATURE class: GenericException added: #raiseErrorString:
GenericException.st
--- a/GenericException.st	Fri Mar 11 15:40:27 2016 +0100
+++ b/GenericException.st	Fri Mar 11 16:58:26 2016 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -224,6 +226,7 @@
     self raiseErrorString:messageText
 ! !
 
+
 !GenericException class methodsFor:'accessing'!
 
 errorString
@@ -2095,6 +2098,20 @@
     "Modified: / 3.8.1999 / 13:33:01 / stefan"
 !
 
+raiseErrorString:aString
+    "raise the signal nonproceedable.
+     The argument, aString is used as messageText"
+
+    <context: #return>
+
+    raiseContext := thisContext.
+    suspendedContext := thisContext sender.
+    messageText := aString.
+    proceedable := false.
+
+    ^ self doRaise
+!
+
 raiseErrorString:aString in:aContext
     "raise the signal nonproceedable.
      The argument, aString is used as messageText"