You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2014/06/12 23:03:15 UTC
[3/7] git commit: STORM-342: add exception as cause when re-thrown
STORM-342: add exception as cause when re-thrown
Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/8b57097c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/8b57097c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/8b57097c
Branch: refs/heads/master
Commit: 8b57097c6dc39f267bcbafb671ac977872380a8f
Parents: 6946c34
Author: Sean Zhong <cl...@gmail.com>
Authored: Thu Jun 12 08:53:17 2014 +0800
Committer: Sean Zhong <cl...@gmail.com>
Committed: Thu Jun 12 08:53:17 2014 +0800
----------------------------------------------------------------------
storm-core/src/jvm/backtype/storm/utils/DisruptorQueue.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/8b57097c/storm-core/src/jvm/backtype/storm/utils/DisruptorQueue.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/utils/DisruptorQueue.java b/storm-core/src/jvm/backtype/storm/utils/DisruptorQueue.java
index 75ccbbc..932af16 100644
--- a/storm-core/src/jvm/backtype/storm/utils/DisruptorQueue.java
+++ b/storm-core/src/jvm/backtype/storm/utils/DisruptorQueue.java
@@ -74,7 +74,7 @@ public class DisruptorQueue implements IStatefulObject {
try {
publishDirect(FLUSH_CACHE, true);
} catch (InsufficientCapacityException e) {
- throw new RuntimeException("This code should be unreachable!");
+ throw new RuntimeException("This code should be unreachable!", e);
}
}
}