jvanzyl     00/10/20 18:59:58

  Modified:    src/java/org/apache/velocity/runtime/directive Foreach.java
  Log:
  - use new ReferenceException.
  
  Revision  Changes    Path
  1.11      +1 -2      
jakarta-velocity/src/java/org/apache/velocity/runtime/directive/Foreach.java
  
  Index: Foreach.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/directive/Foreach.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- Foreach.java      2000/10/20 23:53:43     1.10
  +++ Foreach.java      2000/10/21 01:59:58     1.11
  @@ -121,8 +121,7 @@
           if (listObject == null)
           {
               node.setInvalid();
  -            throw new ReferenceException(node.jjtGetChild(2).literal() +
  -                " is not a valid reference.");
  +            throw new ReferenceException("#foreach", node.jjtGetChild(2));
           }                
   
           // Figure out what type of object the list
  
  
  

Reply via email to