ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r442307 - /ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AssertionFailedException.java
Date Mon, 11 Sep 2006 19:48:24 GMT
Author: bodewig
Date: Mon Sep 11 12:48:23 2006
New Revision: 442307

URL: http://svn.apache.org/viewvc?view=rev&rev=442307
Log:
Add location-aware constructor

Modified:
    ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AssertionFailedException.java

Modified: ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AssertionFailedException.java
URL: http://svn.apache.org/viewvc/ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AssertionFailedException.java?view=diff&rev=442307&r1=442306&r2=442307
==============================================================================
--- ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AssertionFailedException.java
(original)
+++ ant/antlibs/antunit/trunk/src/main/org/apache/ant/antunit/AssertionFailedException.java
Mon Sep 11 12:48:23 2006
@@ -21,6 +21,7 @@
 package org.apache.ant.antunit;
 
 import org.apache.tools.ant.BuildException;
+import org.apache.tools.ant.Location;
 
 /**
  * Specialized BuildException thrown by the AssertTask task.
@@ -31,5 +32,9 @@
 
     public AssertionFailedException(String message) {
         super(message);
+    }
+
+    public AssertionFailedException(String message, Location loc) {
+        super(message, loc);
     }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message