accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e..@apache.org
Subject accumulo git commit: ACCUMULO-3851 class loading errors are not IOExceptions
Date Wed, 01 Jul 2015 15:55:13 GMT
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 <eric.newton@gmail.com>
Authored: Wed Jul 1 11:54:42 2015 -0400
Committer: Eric C. Newton <eric.newton@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;
   }


Mime
View raw message