Author: niallp
Date: Sat Mar 12 00:45:41 2011
New Revision: 1080825

URL: http://svn.apache.org/viewvc?rev=1080825&view=rev
Log:
IO-264 Add FileExistsException to FileUilts javadoc for move file/directory 
methods - thanks to Maciej Biłas

Modified:
    commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java

Modified: 
commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java
URL: 
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java?rev=1080825&r1=1080824&r2=1080825&view=diff
==============================================================================
--- commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java 
(original)
+++ commons/proper/io/trunk/src/main/java/org/apache/commons/io/FileUtils.java 
Sat Mar 12 00:45:41 2011
@@ -2006,6 +2006,7 @@ public class FileUtils {
      * @param srcDir the directory to be moved
      * @param destDir the destination directory
      * @throws NullPointerException if source or destination is 
<code>null</code>
+     * @throws FileExistsException if the destination directory exists
      * @throws IOException if source or destination is invalid
      * @throws IOException if an IO error occurs moving the file
      * @since Commons IO 1.4
@@ -2045,6 +2046,7 @@ public class FileUtils {
      * @param createDestDir If <code>true</code> create the destination 
directory,
      * otherwise if <code>false</code> throw an IOException
      * @throws NullPointerException if source or destination is 
<code>null</code>
+     * @throws FileExistsException if the directory exists in the destination 
directory
      * @throws IOException if source or destination is invalid
      * @throws IOException if an IO error occurs moving the file
      * @since Commons IO 1.4
@@ -2078,6 +2080,7 @@ public class FileUtils {
      * @param srcFile the file to be moved
      * @param destFile the destination file
      * @throws NullPointerException if source or destination is 
<code>null</code>
+     * @throws FileExistsException if the destination file exists
      * @throws IOException if source or destination is invalid
      * @throws IOException if an IO error occurs moving the file
      * @since Commons IO 1.4
@@ -2120,6 +2123,7 @@ public class FileUtils {
      * @param createDestDir If <code>true</code> create the destination 
directory,
      * otherwise if <code>false</code> throw an IOException
      * @throws NullPointerException if source or destination is 
<code>null</code>
+     * @throws FileExistsException if the destination file exists
      * @throws IOException if source or destination is invalid
      * @throws IOException if an IO error occurs moving the file
      * @since Commons IO 1.4
@@ -2154,6 +2158,7 @@ public class FileUtils {
      * @param createDestDir If <code>true</code> create the destination 
directory,
      * otherwise if <code>false</code> throw an IOException
      * @throws NullPointerException if source or destination is 
<code>null</code>
+     * @throws FileExistsException if the directory or file exists in the 
destination directory
      * @throws IOException if source or destination is invalid
      * @throws IOException if an IO error occurs moving the file
      * @since Commons IO 1.4


Reply via email to