You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ti...@apache.org on 2013/03/18 21:37:43 UTC

webworks commit: [CB-2696] amended ControlledAccessException error reporting with additional cause of file system edge case

Updated Branches:
  refs/heads/master c57ceeb98 -> c0af8ba61


[CB-2696] amended ControlledAccessException error reporting with additional cause of file system edge case


Project: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/commit/c0af8ba6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/tree/c0af8ba6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-blackberry/diff/c0af8ba6

Branch: refs/heads/master
Commit: c0af8ba6123aa6c6c573dea12020d66bab08feb5
Parents: c57ceeb
Author: lorinbeer <lo...@adobe.com>
Authored: Sun Mar 17 17:11:54 2013 -0700
Committer: lorinbeer <lo...@adobe.com>
Committed: Sun Mar 17 17:11:54 2013 -0700

----------------------------------------------------------------------
 .../ext/src/org/apache/cordova/util/FileUtils.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-blackberry/blob/c0af8ba6/framework/ext/src/org/apache/cordova/util/FileUtils.java
----------------------------------------------------------------------
diff --git a/framework/ext/src/org/apache/cordova/util/FileUtils.java b/framework/ext/src/org/apache/cordova/util/FileUtils.java
index 9ea21a3..622bf48 100644
--- a/framework/ext/src/org/apache/cordova/util/FileUtils.java
+++ b/framework/ext/src/org/apache/cordova/util/FileUtils.java
@@ -235,8 +235,8 @@ public class FileUtils {
             }
             fconn.mkdir();
         } catch (ControlledAccessException e) {
-            Logger.log("ControlledAccessException on dir " + dirPath + ", likely cause is directory intersection after reinstall of app, see Cordova Docs File Quirks");
-            Logger.log(e.getMessage());
+            Logger.log("ControlledAccessException on dir " + dirPath + ", either directory conflict after reinstall of app, or device is connected via usb, see Cordova Docs File Blackberry Quirks");
+            Logger.log(e.toString());
         }
         finally {
             try {