You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by bo...@apache.org on 2015/09/16 16:26:28 UTC
[03/11] qpid-proton git commit: PROTON-997: EventImpl.dispatch: Do
not wrap HandlerException in another
PROTON-997: EventImpl.dispatch: Do not wrap HandlerException in another
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/4e2258f6
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/4e2258f6
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/4e2258f6
Branch: refs/heads/master
Commit: 4e2258f6faa476c45ed9ca44c071a2d6b9aa0f56
Parents: a82681a
Author: Bozo Dragojevic <bo...@digiverse.si>
Authored: Tue Sep 15 12:07:21 2015 +0200
Committer: Bozo Dragojevic <bo...@digiverse.si>
Committed: Wed Sep 16 15:40:05 2015 +0200
----------------------------------------------------------------------
.../main/java/org/apache/qpid/proton/engine/impl/EventImpl.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/4e2258f6/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
----------------------------------------------------------------------
diff --git a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
index 74b9cdc..98d9265 100644
--- a/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
+++ b/proton-j/src/main/java/org/apache/qpid/proton/engine/impl/EventImpl.java
@@ -100,6 +100,8 @@ class EventImpl implements Event
delegated = handler;
try {
handler.handle(this);
+ } catch(HandlerException handlerException) {
+ throw handlerException;
} catch(RuntimeException runtimeException) {
throw new HandlerException(handler, runtimeException);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org