@@ -12,6 +12,17 @@ return self}
}),
smalltalk.Error);
+smalltalk.addMethod(
+"_initialize",
+smalltalk.method({
+selector: "initialize",
+fn: function (){
+var self=this;
+smalltalk.send(self,"_messageText_",[smalltalk.send("Errorclass: ","__comma",[smalltalk.send(smalltalk.send(self,"_class",[]),"_name",[])])]);
+return self}
+}),
+smalltalk.Error);
+
smalltalk.addMethod(
"_isSmalltalkError",
smalltalk.method({
@@ -17,6 +17,22 @@ referencedClasses: []
+category: 'initialization',
+return self},
+args: [],
+source: "initialize\x0a\x09self messageText: 'Errorclass: ', (self class name).",
+messageSends: ["messageText:", ",", "name", "class"],
+referencedClasses: []
@@ -21,6 +21,12 @@ messageText: aString
messageText := aString
! !
+!Error methodsFor: 'initialization'!
+initialize
+ self messageText: 'Errorclass: ', (self class name).
+! !
!Error methodsFor: 'signaling'!
signal