Revision: 1828
          http://svn.sourceforge.net/vexi/?rev=1828&view=rev
Author:   mkpg2
Date:     2007-06-09 03:24:53 -0700 (Sat, 09 Jun 2007)

Log Message:
-----------
Fix. Just log a warning if exception is in the cleanup code instead of throwing 
an exception.

Modified Paths:
--------------
    core/trunk/org.ibex.js/src/org/ibex/js/XMLRPC.jpp

Modified: core/trunk/org.ibex.js/src/org/ibex/js/XMLRPC.jpp
===================================================================
--- core/trunk/org.ibex.js/src/org/ibex/js/XMLRPC.jpp   2007-05-27 11:27:47 UTC 
(rev 1827)
+++ core/trunk/org.ibex.js/src/org/ibex/js/XMLRPC.jpp   2007-06-09 10:24:53 UTC 
(rev 1828)
@@ -361,9 +361,15 @@
                 return result;
                 
             } finally {
-                tracker.clear();
-                objects.clear();
-                br.close();
+               try{
+                       tracker.clear();
+                       objects.clear();
+                       br.close();
+               }catch(IOException e){
+                       // Just warn, error just in clean up, result already
+                       // constructed
+                       Log.warn(XMLRPC.class, e);
+               }
             }
         } catch (final IOException e) {
                Log.warn(XMLRPC.class, e);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to