|
@@ -384,7 +384,8 @@ public class MacroInstance extends Task implements DynamicAttribute, TaskContain |
|
|
throw ProjectHelper.addLocationToBuildException( |
|
|
throw ProjectHelper.addLocationToBuildException( |
|
|
ex, getLocation()); |
|
|
ex, getLocation()); |
|
|
} else { |
|
|
} else { |
|
|
throw new BuildException(ex.getMessage(), ex); |
|
|
|
|
|
|
|
|
ex.setLocation(getLocation()); |
|
|
|
|
|
throw ex; |
|
|
} |
|
|
} |
|
|
} finally { |
|
|
} finally { |
|
|
presentElements = null; |
|
|
presentElements = null; |
|
|