From fa122cb5789244767230c317710e4f1710c5cf45 Mon Sep 17 00:00:00 2001 From: Peter Reilly Date: Tue, 25 Jan 2005 11:22:24 +0000 Subject: [PATCH] javadoc on exceptions git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@277448 13f79535-47bb-0310-9956-ffa450edef68 --- src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java b/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java index 25a39dca7..a15fbf41b 100644 --- a/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java +++ b/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java @@ -243,6 +243,7 @@ public class ExecuteOn extends ExecTask { * Create a nested Mapper element to use for mapping * source files to target files. * @return Mapper. + * @throws BuildException if more than one mapper is defined. */ public Mapper createMapper() throws BuildException { if (mapperElement != null) { @@ -294,6 +295,7 @@ public class ExecuteOn extends ExecTask { * Create the ExecuteStreamHandler instance that will be used * during execution. * @return ExecuteStreamHandler. + * @throws BuildException on error. */ protected ExecuteStreamHandler createHandler() throws BuildException { //if we have a RedirectorElement, return a decoy @@ -312,6 +314,7 @@ public class ExecuteOn extends ExecTask { /** * Run the specified Execute object. * @param exe the Execute instance representing the external process. + * @throws BuildException on error */ protected void runExec(Execute exe) throws BuildException { int totalFiles = 0; @@ -642,7 +645,8 @@ public class ExecuteOn extends ExecTask { * @param exe the Executable to use. * @param fileNames the Vector of filenames. * @param baseDirs the Vector of base directories corresponding to fileNames. - * + * @throws IOException on I/O errors. + * @throws BuildException on other errors. * @since Ant 1.6 */ protected void runParallel(Execute exe, Vector fileNames,