|
@@ -213,11 +213,12 @@ selector: "exception:",
|
|
category: 'accessing',
|
|
category: 'accessing',
|
|
fn: function (anException){
|
|
fn: function (anException){
|
|
var self=this;
|
|
var self=this;
|
|
-return smalltalk.withContext(function($ctx1) {
self["@exception"]=anException;
|
|
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
_st(anException)._messageText_(_st(anException)._basicAt_("message"));
|
|
|
|
+self["@exception"]=anException;
|
|
return self}, function($ctx1) {$ctx1.fill(self,"exception:",{anException:anException}, smalltalk.JavaScriptException)})},
|
|
return self}, function($ctx1) {$ctx1.fill(self,"exception:",{anException:anException}, smalltalk.JavaScriptException)})},
|
|
args: ["anException"],
|
|
args: ["anException"],
|
|
-source: "exception: anException\x0a\x09exception := anException",
|
|
|
|
-messageSends: [],
|
|
|
|
|
|
+source: "exception: anException\x0a\x09anException messageText: (anException basicAt: 'message').\x0a\x09exception := anException",
|
|
|
|
+messageSends: ["messageText:", "basicAt:"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
smalltalk.JavaScriptException);
|
|
smalltalk.JavaScriptException);
|
|
@@ -229,11 +230,13 @@ selector: "messageText",
|
|
category: 'accessing',
|
|
category: 'accessing',
|
|
fn: function (){
|
|
fn: function (){
|
|
var self=this;
|
|
var self=this;
|
|
-return smalltalk.withContext(function($ctx1) {
return "A JavaScript exception occured while in the Smalltalk stack!";
|
|
|
|
|
|
+return smalltalk.withContext(function($ctx1) {
var $1;
|
|
|
|
+$1=_st("JavaScript exception: ").__comma(_st(_st(self)._exception())._messageText());
|
|
|
|
+return $1;
|
|
}, function($ctx1) {$ctx1.fill(self,"messageText",{}, smalltalk.JavaScriptException)})},
|
|
}, function($ctx1) {$ctx1.fill(self,"messageText",{}, smalltalk.JavaScriptException)})},
|
|
args: [],
|
|
args: [],
|
|
-source: "messageText\x0a\x09^ 'A JavaScript exception occured while in the Smalltalk stack!'",
|
|
|
|
-messageSends: [],
|
|
|
|
|
|
+source: "messageText\x0a\x09^ 'JavaScript exception: ', self exception messageText",
|
|
|
|
+messageSends: [",", "messageText", "exception"],
|
|
referencedClasses: []
|
|
referencedClasses: []
|
|
}),
|
|
}),
|
|
smalltalk.JavaScriptException);
|
|
smalltalk.JavaScriptException);
|