qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [09/50] [abbrv] qpid-proton git commit: PROTON-997: EventImpl.dispatch: Do not wrap HandlerException in another
Date Mon, 28 Sep 2015 18:09:35 GMT
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/proton-go
Commit: 4e2258f6faa476c45ed9ca44c071a2d6b9aa0f56
Parents: a82681a
Author: Bozo Dragojevic <bozzo@digiverse.si>
Authored: Tue Sep 15 12:07:21 2015 +0200
Committer: Bozo Dragojevic <bozzo@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


Mime
View raw message