From: <jsa...@us...> - 2008-11-06 22:22:07
|
Revision: 58 http://flexotask.svn.sourceforge.net/flexotask/?rev=58&view=rev Author: jsauerbach Date: 2008-11-06 21:36:33 +0000 (Thu, 06 Nov 2008) Log Message: ----------- Improve error diagnostics when there is a system-level error. Modified Paths: -------------- trunk/flexotask/src/com/ibm/realtime/flexotask/validation/CommonCodeValidator.java Modified: trunk/flexotask/src/com/ibm/realtime/flexotask/validation/CommonCodeValidator.java =================================================================== --- trunk/flexotask/src/com/ibm/realtime/flexotask/validation/CommonCodeValidator.java 2008-11-05 16:15:07 UTC (rev 57) +++ trunk/flexotask/src/com/ibm/realtime/flexotask/validation/CommonCodeValidator.java 2008-11-06 21:36:33 UTC (rev 58) @@ -209,7 +209,10 @@ trace("done adding allocation-sensitive methods"); } catch (Exception e) { /* Serious error for these not to be found */ - if (tracing) { + if (e instanceof RuntimeException) { + throw (RuntimeException) e; + } + if (tracing) { e.printStackTrace(); } throw new IllegalStateException(e); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |