You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rya.apache.org by pu...@apache.org on 2017/01/04 14:32:08 UTC

incubator-rya git commit: [RYA-233]: Add a missing throw; Closes #134

Repository: incubator-rya
Updated Branches:
  refs/heads/master 591675e07 -> cde4b239a


[RYA-233]: Add a missing throw; Closes #134


Project: http://git-wip-us.apache.org/repos/asf/incubator-rya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-rya/commit/cde4b239
Tree: http://git-wip-us.apache.org/repos/asf/incubator-rya/tree/cde4b239
Diff: http://git-wip-us.apache.org/repos/asf/incubator-rya/diff/cde4b239

Branch: refs/heads/master
Commit: cde4b239a3184c0fb4e39a8d15415dbd6f057a49
Parents: 591675e
Author: JC <jc...@lifove.net>
Authored: Thu Dec 22 19:40:20 2016 -0500
Committer: pujav65 <pu...@gmail.com>
Committed: Wed Jan 4 09:31:33 2017 -0500

----------------------------------------------------------------------
 .../src/main/java/org/apache/rya/accumulo/pig/AccumuloStorage.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-rya/blob/cde4b239/pig/accumulo.pig/src/main/java/org/apache/rya/accumulo/pig/AccumuloStorage.java
----------------------------------------------------------------------
diff --git a/pig/accumulo.pig/src/main/java/org/apache/rya/accumulo/pig/AccumuloStorage.java b/pig/accumulo.pig/src/main/java/org/apache/rya/accumulo/pig/AccumuloStorage.java
index eb55e94..ac151d9 100644
--- a/pig/accumulo.pig/src/main/java/org/apache/rya/accumulo/pig/AccumuloStorage.java
+++ b/pig/accumulo.pig/src/main/java/org/apache/rya/accumulo/pig/AccumuloStorage.java
@@ -284,7 +284,7 @@ public class AccumuloStorage extends LoadFunc implements StoreFuncInterface, Ord
             try {
 				AccumuloOutputFormat.setConnectorInfo(job, user, new PasswordToken(password.getBytes()));
 			} catch (AccumuloSecurityException e) {
-				new RuntimeException(e);
+				throw new RuntimeException(e);
 			}
             AccumuloOutputFormat.setDefaultTableName(job, table);
             AccumuloOutputFormat.setZooKeeperInstance(job, inst, zookeepers);