Permalink
Browse files

removed FileExistsException that is not needed

  • Loading branch information...
1 parent d558055 commit 729d141c3f19ade38c5ae3618071f2b932c51125 @willshen willshen committed Dec 1, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 framework/src/com/phonegap/FileUtils.java
@@ -329,7 +329,7 @@ private JSONArray readEntries(String fileName) throws FileNotFoundException, JSO
* @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");

0 comments on commit 729d141

Please sign in to comment.