Author: keith
Date: Mon Dec 10 23:38:54 2007
New Revision: 10887

Log:

Fixing error message of delete method



Modified:
   trunk/mashup/java/modules/samples/RESTSample/RESTSample.js

Modified: trunk/mashup/java/modules/samples/RESTSample/RESTSample.js
==============================================================================
--- trunk/mashup/java/modules/samples/RESTSample/RESTSample.js  (original)
+++ trunk/mashup/java/modules/samples/RESTSample/RESTSample.js  Mon Dec 10 
23:38:54 2007
@@ -63,7 +63,7 @@
 function PUTWeather(city, weatherDetails){
 var details = session.get(city);
 if (details == null) {
-   throw ("Cannot find weather details of city " + city + " to update.")
+   throw ("Cannot find weather details of city " + city + " to delete.")
 }
 session.put(city ,weatherDetails);
 return city;

_______________________________________________
Mashup-dev mailing list
[email protected]
http://www.wso2.org/cgi-bin/mailman/listinfo/mashup-dev

Reply via email to