Add location-aware constructor

git-svn-id: https://svn.apache.org/repos/asf/ant/antlibs/antunit/trunk@442307 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Stefan Bodewig 2006-09-11 19:48:23 +00:00
parent 6002fbef8b
commit d8a25af15e
1 changed files with 5 additions and 0 deletions

View File

@ -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.
@ -32,4 +33,8 @@ public class AssertionFailedException extends BuildException {
public AssertionFailedException(String message) {
super(message);
}
public AssertionFailedException(String message, Location loc) {
super(message, loc);
}
}