accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From md...@apache.org
Subject git commit: ACCUMULO-1412 Used wrong ParameterException ctor
Date Sun, 01 Sep 2013 17:10:59 GMT
Updated Branches:
  refs/heads/master 714c12f63 -> 98ce83aa7


ACCUMULO-1412 Used wrong ParameterException ctor


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/98ce83aa
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/98ce83aa
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/98ce83aa

Branch: refs/heads/master
Commit: 98ce83aa703362d2498d278bf53fcde56545c77e
Parents: 714c12f
Author: Mike Drob <mdrob@mdrob.com>
Authored: Sun Sep 1 13:10:25 2013 -0400
Committer: Mike Drob <mdrob@mdrob.com>
Committed: Sun Sep 1 13:10:25 2013 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/core/util/shell/ShellOptionsJC.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/98ce83aa/core/src/main/java/org/apache/accumulo/core/util/shell/ShellOptionsJC.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/util/shell/ShellOptionsJC.java b/core/src/main/java/org/apache/accumulo/core/util/shell/ShellOptionsJC.java
index 1ebf244..c3890db 100644
--- a/core/src/main/java/org/apache/accumulo/core/util/shell/ShellOptionsJC.java
+++ b/core/src/main/java/org/apache/accumulo/core/util/shell/ShellOptionsJC.java
@@ -57,7 +57,7 @@ public class ShellOptionsJC {
             scanner = new Scanner(new File(value));
             return scanner.nextLine();
           } catch (FileNotFoundException e) {
-            throw new ParameterException("Password file does not exist", e);
+            throw new ParameterException(e);
           } finally {
             if (scanner != null) {
               scanner.close();


Mime
View raw message