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:
parent
6002fbef8b
commit
d8a25af15e
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue