From: <ke...@us...> - 2003-07-24 22:16:25
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/directive In directory sc8-pr-cvs1:/tmp/cvs-serv8727 Modified Files: EvalDirective.java Log Message: Fix to undeclared exception -- needed to cast to PropertyException Index: EvalDirective.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/directive/EvalDirective.java,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** EvalDirective.java 23 Jul 2003 19:20:31 -0000 1.1 --- EvalDirective.java 24 Jul 2003 21:48:25 -0000 1.2 *************** *** 167,171 **** catch (Exception e) { ! if (e instanceof PropertyException) throw e; throw new PropertyException("#eval: Unable to evaluate macro.", e); } --- 167,171 ---- catch (Exception e) { ! if (e instanceof PropertyException) throw (PropertyException)e; throw new PropertyException("#eval: Unable to evaluate macro.", e); } |