You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ec...@apache.org on 2015/07/01 17:55:13 UTC

accumulo git commit: ACCUMULO-3851 class loading errors are not IOExceptions

Repository: accumulo
Updated Branches:
  refs/heads/master 971d873e1 -> c088a8505


ACCUMULO-3851 class loading errors are not IOExceptions


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

Branch: refs/heads/master
Commit: c088a850596c4b6ab40a03ec28a13797af8003c9
Parents: 971d873
Author: Eric C. Newton <er...@gmail.com>
Authored: Wed Jul 1 11:54:42 2015 -0400
Committer: Eric C. Newton <er...@gmail.com>
Committed: Wed Jul 1 11:54:42 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/accumulo/core/iterators/IteratorUtil.java  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/c088a850/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java b/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
index 031d13f..81f3c08 100644
--- a/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
+++ b/core/src/main/java/org/apache/accumulo/core/iterators/IteratorUtil.java
@@ -271,13 +271,13 @@ public class IteratorUtil {
       }
     } catch (ClassNotFoundException e) {
       log.error(e.toString());
-      throw new IOException(e);
+      throw new RuntimeException(e);
     } catch (InstantiationException e) {
       log.error(e.toString());
-      throw new IOException(e);
+      throw new RuntimeException(e);
     } catch (IllegalAccessException e) {
       log.error(e.toString());
-      throw new IOException(e);
+      throw new RuntimeException(e);
     }
     return prev;
   }