You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by jv...@apache.org on 2002/07/11 03:29:31 UTC
cvs commit: jakarta-velocity-dvsl/src/java/org/apache/tools/dvsl DVSLTask.java
jvanzyl 2002/07/10 18:29:31
Modified: src/java/org/apache/tools/dvsl DVSLTask.java
Log:
o Adding better error message when a value attribute for the toolbox
is missing. State the name of the toolbox reference so we can easily
figure out what to fix.
Revision Changes Path
1.9 +1 -1 jakarta-velocity-dvsl/src/java/org/apache/tools/dvsl/DVSLTask.java
Index: DVSLTask.java
===================================================================
RCS file: /home/cvs/jakarta-velocity-dvsl/src/java/org/apache/tools/dvsl/DVSLTask.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- DVSLTask.java 5 Apr 2002 02:25:14 -0000 1.8
+++ DVSLTask.java 11 Jul 2002 01:29:31 -0000 1.9
@@ -708,7 +708,7 @@
{
if (value == null)
{
- throw new BuildException("value attribute is missing.");
+ throw new BuildException("value for attribute for " + getName() + " is missing.");
}
return value;
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>