Update of /cvsroot/webmacro/webmacro/src/org/webmacro/engine
In directory usw-pr-cvs1:/tmp/cvs-serv5401/src/org/webmacro/engine
Modified Files:
PropertyOperatorCache.java
Log Message:
clean up the "blah is not a list" warning message generated by #foreach to include the $VariableName, the context location, and the class type of the object that isn't a list.
Index: PropertyOperatorCache.java
===================================================================
RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/engine/PropertyOperatorCache.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** PropertyOperatorCache.java 5 Jul 2002 02:47:15 -0000 1.14
--- PropertyOperatorCache.java 31 Oct 2002 17:34:04 -0000 1.15
***************
*** 850,854 ****
}
}
! throw new PropertyException(instance + " is not a list", null);
}
--- 850,854 ----
}
}
! throw new PropertyException((instance==null ? "null" : instance.getClass().getName()) + " is not a list");
}
|