You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by ge...@locus.apache.org on 2000/12/05 06:08:10 UTC
cvs commit: jakarta-velocity/src/java/org/apache/velocity/runtime/exception ReferenceException.java
geirm 00/12/04 21:08:10
Modified: src/java/org/apache/velocity/runtime/exception
ReferenceException.java
Log:
Support for template name in invalid reference log message.
Revision Changes Path
1.3 +3 -4 jakarta-velocity/src/java/org/apache/velocity/runtime/exception/ReferenceException.java
Index: ReferenceException.java
===================================================================
RCS file: /home/cvs/jakarta-velocity/src/java/org/apache/velocity/runtime/exception/ReferenceException.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ReferenceException.java 2000/10/21 01:59:42 1.2
+++ ReferenceException.java 2000/12/05 05:08:10 1.3
@@ -60,9 +60,8 @@
{
public ReferenceException(String exceptionMessage, Node node)
{
- super(exceptionMessage + ": " + node.literal() +
- " is not a valid reference." +
- " [line " + node.getLine() + ",column " +
- node.getColumn() + "]");
+ super(exceptionMessage + " [line " + node.getLine() + ",column " +
+ node.getColumn() + "] : " + node.literal() +
+ " is not a valid reference.");
}
}