geirm       00/12/01 05:50:34

  Modified:    src/java/org/apache/velocity/runtime/directive
                        VelocimacroProxy.java
  Log:
  Doing some debugging, and the render() exception message was starting to bug me - 
they could be misleading...
  
  Revision  Changes    Path
  1.9       +3 -3      
jakarta-velocity/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java
  
  Index: VelocimacroProxy.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/directive/VelocimacroProxy.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- VelocimacroProxy.java     2000/11/28 04:16:22     1.8
  +++ VelocimacroProxy.java     2000/12/01 13:50:33     1.9
  @@ -58,7 +58,7 @@
    *   a proxy Directive-derived object to fit with the current directive system
    *
    * @author <a href="mailto:[EMAIL PROTECTED]">Geir Magnusson Jr.</a>
  - * @version $Id: VelocimacroProxy.java,v 1.8 2000/11/28 04:16:22 jvanzyl Exp $ 
  + * @version $Id: VelocimacroProxy.java,v 1.9 2000/12/01 13:50:33 geirm Exp $ 
    */
   
   package org.apache.velocity.runtime.directive;
  @@ -190,8 +190,8 @@
           } 
           catch ( Exception e ) 
           {
  -            Runtime.error("VelocimacroProxy.render() : exception " + strMacroName_ 
+ 
  -            " : "  + StringUtils.stackTrace(e));
  +            Runtime.error("VelocimacroProxy.render() : exception VM = #" + 
strMacroName_ + 
  +            "() : "  + StringUtils.stackTrace(e));
           }
   
           return true;
  
  
  

Reply via email to