From 1dfc65facee1fa75601025368e0fc8399bc50aac Mon Sep 17 00:00:00 2001 From: wshen Date: Thu, 1 Dec 2011 10:04:49 -0800 Subject: [PATCH] removed FileExistsException that is not needed --- framework/src/com/phonegap/FileUtils.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/framework/src/com/phonegap/FileUtils.java b/framework/src/com/phonegap/FileUtils.java index de20405c..9bc0d0a9 100755 --- a/framework/src/com/phonegap/FileUtils.java +++ b/framework/src/com/phonegap/FileUtils.java @@ -322,14 +322,13 @@ public class FileUtils extends Plugin { * @param newName for the file directory to be called, if null use existing file name * @param move if false do a copy, if true do a move * @return a Entry object - * @throws FileExistsException * @throws NoModificationAllowedException * @throws IOException * @throws InvalidModificationException * @throws EncodingException * @throws JSONException */ - private JSONObject transferTo(String fileName, JSONObject newParent, String newName, boolean move) throws JSONException, FileExistsException, NoModificationAllowedException, IOException, InvalidModificationException, EncodingException { + private JSONObject transferTo(String fileName, JSONObject newParent, String newName, boolean move) throws JSONException, NoModificationAllowedException, IOException, InvalidModificationException, EncodingException { // Check for invalid file name if (newName != null && newName.contains(":")) { throw new EncodingException("Bad file name");