peterreilly    2005/01/25 03:22:24

  Modified:    src/main/org/apache/tools/ant/taskdefs ExecuteOn.java
  Log:
  javadoc on exceptions
  
  Revision  Changes    Path
  1.60      +5 -1      ant/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java
  
  Index: ExecuteOn.java
  ===================================================================
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ExecuteOn.java,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- ExecuteOn.java    24 Jan 2005 21:55:44 -0000      1.59
  +++ ExecuteOn.java    25 Jan 2005 11:22:24 -0000      1.60
  @@ -243,6 +243,7 @@
        * Create a nested Mapper element to use for mapping
        * source files to target files.
        * @return <code>Mapper</code>.
  +     * @throws BuildException if more than one mapper is defined.
        */
       public Mapper createMapper() throws BuildException {
           if (mapperElement != null) {
  @@ -294,6 +295,7 @@
        * Create the ExecuteStreamHandler instance that will be used
        * during execution.
        * @return <code>ExecuteStreamHandler</code>.
  +     * @throws BuildException on error.
        */
       protected ExecuteStreamHandler createHandler() throws BuildException {
           //if we have a RedirectorElement, return a decoy
  @@ -312,6 +314,7 @@
       /**
        * 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 @@
        * @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,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to