2003/11/29 03:06:09
[org.ibex.core.git] / src / org / xwt / SOAP.java
index 7ad91ef..4d5a642 100644 (file)
@@ -153,7 +153,11 @@ class SOAP extends XMLRPC {
 
         } else if (parent != null && parent instanceof JS) {
             objects.removeElementAt(objects.size() - 1);
-            ((JS)parent).put(name, me);
+            try {
+                ((JS)parent).put(name, me);
+            } catch (JSExn e) {
+                throw new Error("this should never happen");
+            }
 
         }