Revision: 2347
          http://vexi.svn.sourceforge.net/vexi/?rev=2347&view=rev
Author:   clrg
Date:     2007-09-27 10:23:05 -0700 (Thu, 27 Sep 2007)

Log Message:
-----------
Nice idea (maintaining stacktrace) but only supported in Java 6 :-(

Modified Paths:
--------------
    trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java

Modified: trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java
===================================================================
--- trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java        2007-09-27 
17:22:58 UTC (rev 2346)
+++ trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java        2007-09-27 
17:23:05 UTC (rev 2347)
@@ -118,7 +118,9 @@
                        r.put(SC_length, JSU.N(his.getLength()));
                        r.put(SC_name, JSU.S(url));
                }catch(JSExn e){
-                       throw new IOException(e);
+                       // only supported by Java 6
+                       //throw new IOException(e);
+                       throw new IOException(e.getMessage());
                } finally{
                                his.close();
                        }
@@ -387,7 +389,9 @@
                                }
                        };
                }catch(JSExn e){
-                       throw new IOException(e);
+                       // only supported by Java 6
+                       //throw new IOException(e);
+                       throw new IOException(e.getMessage());
                }
         }
         


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: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to