git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277871 13f79535-47bb-0310-9956-ffa450edef68master
@@ -350,20 +350,19 @@ public abstract class AbstractCvsTask extends Task { | |||||
} | } | ||||
log("Caught exception: " + e.getMessage(), Project.MSG_WARN); | log("Caught exception: " + e.getMessage(), Project.MSG_WARN); | ||||
} catch (BuildException e) { | } catch (BuildException e) { | ||||
if (failOnError) { | |||||
throw(e); | |||||
} | |||||
Throwable t = e.getException(); | |||||
if (t == null) { | |||||
t = e; | |||||
} | |||||
log("Caught exception: " + t.getMessage(), Project.MSG_WARN); | |||||
if (failOnError) { | |||||
throw(e); | |||||
} | |||||
Throwable t = e.getException(); | |||||
if (t == null) { | |||||
t = e; | |||||
} | |||||
log("Caught exception: " + t.getMessage(), Project.MSG_WARN); | |||||
} catch (Exception e) { | } catch (Exception e) { | ||||
if (failOnError) { | |||||
throw new BuildException(e, getLocation()); | |||||
} | |||||
log("Caught exception: " + e.getMessage(), Project.MSG_WARN); | |||||
if (failOnError) { | |||||
throw new BuildException(e, getLocation()); | |||||
} | |||||
log("Caught exception: " + e.getMessage(), Project.MSG_WARN); | |||||
} | } | ||||
} | } | ||||
@@ -61,7 +61,7 @@ public class Apt | |||||
/** Constructor for Option */ | /** Constructor for Option */ | ||||
public Option() { | public Option() { | ||||
//default | |||||
//default | |||||
} | } | ||||
/** | /** | ||||
@@ -270,7 +270,7 @@ public class Javadoc extends Task { | |||||
* Default constructor | * Default constructor | ||||
*/ | */ | ||||
public SourceFile() { | public SourceFile() { | ||||
//empty | |||||
//empty | |||||
} | } | ||||
/** | /** | ||||
@@ -1200,7 +1200,7 @@ public class Javadoc extends Task { | |||||
private File packagelistLoc; | private File packagelistLoc; | ||||
public LinkArgument() { | public LinkArgument() { | ||||
//empty | |||||
//empty | |||||
} | } | ||||
public void setHref(String hr) { | public void setHref(String hr) { | ||||
@@ -1271,7 +1271,7 @@ public class Javadoc extends Task { | |||||
/** Sole constructor. */ | /** Sole constructor. */ | ||||
public TagArgument () { | public TagArgument () { | ||||
//empty | |||||
//empty | |||||
} | } | ||||
/** | /** | ||||
@@ -1404,7 +1404,7 @@ public class Javadoc extends Task { | |||||
private Vector packages = new Vector(); | private Vector packages = new Vector(); | ||||
public GroupArgument() { | public GroupArgument() { | ||||
//empty | |||||
//empty | |||||
} | } | ||||
public void setTitle(String src) { | public void setTitle(String src) { | ||||