Author: keith
Date: Wed Jan 9 01:26:18 2008
New Revision: 12027
Log:
Fixing exception handling on client-side
Modified:
trunk/mashup/java/modules/www/js/mashup-utils.js
Modified: trunk/mashup/java/modules/www/js/mashup-utils.js
==============================================================================
--- trunk/mashup/java/modules/www/js/mashup-utils.js (original)
+++ trunk/mashup/java/modules/www/js/mashup-utils.js Wed Jan 9 01:26:18 2008
@@ -302,7 +302,7 @@
wso2.mashup.services.logout(wso2.mashup.handleLogout);
}
- else if (error.detail.indexOf("UnknownHostException") > -1) {
+ else if (error.reason.indexOf("UnknownHostException") > -1) {
this.params.innerHTML = "";
this.params.appendChild(document.createTextNode("Failed to
share the service. Unknown Host : '" +
error.reason +
"'"));
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev