Revision: 15021
          http://gate.svn.sourceforge.net/gate/?rev=15021&view=rev
Author:   markagreenwood
Date:     2012-01-12 19:26:47 +0000 (Thu, 12 Jan 2012)
Log Message:
-----------
make sure we pass the actual cause back up the stack for better error reporting

Modified Paths:
--------------
    gate/trunk/src/gate/creole/CreoleRegisterImpl.java

Modified: gate/trunk/src/gate/creole/CreoleRegisterImpl.java
===================================================================
--- gate/trunk/src/gate/creole/CreoleRegisterImpl.java  2012-01-12 17:32:28 UTC 
(rev 15020)
+++ gate/trunk/src/gate/creole/CreoleRegisterImpl.java  2012-01-12 19:26:47 UTC 
(rev 15021)
@@ -319,7 +319,7 @@
         // it failed: remove it
         directories.remove(directoryUrl);
         Gate.removeKnownPlugin(directoryUrl);
-        throw (new GateException("couldn't open creole.xml: " + e.toString()));
+        throw (new GateException("couldn't open creole.xml",e));
       }
     }
   } // registerDirectories(URL)

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


------------------------------------------------------------------------------
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to