[Nice-commit] Nice/src/bossa/syntax InlinedMethod.java,1.16,1.17
Brought to you by:
bonniot
From: <bo...@us...> - 2004-02-11 13:20:36
|
Update of /cvsroot/nice/Nice/src/bossa/syntax In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11351/src/bossa/syntax Modified Files: InlinedMethod.java Log Message: Better print wrapped exceptions. Index: InlinedMethod.java =================================================================== RCS file: /cvsroot/nice/Nice/src/bossa/syntax/InlinedMethod.java,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** InlinedMethod.java 28 Nov 2003 17:40:45 -0000 1.16 --- InlinedMethod.java 11 Feb 2004 13:16:26 -0000 1.17 *************** *** 85,91 **** } catch(InvocationTargetException e){ User.error(inlineProcedure, "Inlined method " + inlineProcedure + ! ": " + e.getMessage()); } catch(IllegalAccessException e){ --- 85,92 ---- } catch(InvocationTargetException e){ + Throwable realEx = e.getTargetException(); User.error(inlineProcedure, "Inlined method " + inlineProcedure + ! ": " + realEx); } catch(IllegalAccessException e){ |