#FEATURE by exept
authorClaus Gittinger <cg@exept.de>
Fri, 16 Aug 2019 19:38:58 +0200
changeset 24551 b69e77ee8b2d
parent 24550 fdd977ba1bcb
child 24552 8febcf81245e
#FEATURE by exept class: GenericException added: #parameter:errorString:
GenericException.st
--- a/GenericException.st	Fri Aug 16 19:36:32 2019 +0200
+++ b/GenericException.st	Fri Aug 16 19:38:58 2019 +0200
@@ -1474,6 +1474,15 @@
     "Created: / 5.3.1998 / 16:34:22 / stefan"
 !
 
+parameter:anObject errorString:errorString
+    "set the parameter of the exception"
+
+    parameter := anObject.
+    messageText := errorString.
+
+    "Created: / 5.3.1998 / 16:34:22 / stefan"
+!
+
 proceedable:aBoolean
     "explicitly change the proceedability.
      Normally this gets initialized from the classes idea of whether this makes sense"