Author: keith
Date: Fri Dec 21 00:36:36 2007
New Revision: 11640
Log:
Fixing exception handling
Modified:
trunk/mashup/java/modules/samples/storexml/storexml.js
Modified: trunk/mashup/java/modules/samples/storexml/storexml.js
==============================================================================
--- trunk/mashup/java/modules/samples/storexml/storexml.js (original)
+++ trunk/mashup/java/modules/samples/storexml/storexml.js Fri Dec 21
00:36:36 2007
@@ -42,7 +42,7 @@
file.write(valueXML);
file.close();
} catch (e) {
- throw "Unable to store '" + name + "': ";
+ throw "Unable to store '" + name + "': The value should be in the form
of xml. For e.g <value>This is the value I wanna store</value>.";
}
return value;
}
_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev