|
From: <caw...@us...> - 2007-08-13 21:11:30
|
Revision: 2967
http://rubyeclipse.svn.sourceforge.net/rubyeclipse/?rev=2967&view=rev
Author: cawilliams
Date: 2007-08-13 14:11:29 -0700 (Mon, 13 Aug 2007)
Log Message:
-----------
catch all exceptions (including runtime) when getting rdoc translation of text
Modified Paths:
--------------
trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/util/RDocUtil.java
Modified: trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/util/RDocUtil.java
===================================================================
--- trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/util/RDocUtil.java 2007-08-13 20:57:21 UTC (rev 2966)
+++ trunk/org.rubypeople.rdt.core/src/org/rubypeople/rdt/core/util/RDocUtil.java 2007-08-13 21:11:29 UTC (rev 2967)
@@ -130,10 +130,8 @@
ruby.setCurrentDirectory(getRDocScriptPath());
IRubyObject object = ruby.evalScript(script);
docs = object.toString();
- } catch (IOException e) {
+ } catch (Exception e) {
// ignore
- } catch (RaiseException e) {
- // ignore
}
return docs;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|