PROTON-1346: update the name for clarity
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/efd033c9 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/efd033c9 Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/efd033c9 Branch: refs/heads/go1 Commit: efd033c98f6fdc1bebcc92e6d3d3c858bcbb5edf Parents: 6afca2d Author: Robert Gemmell <[email protected]> Authored: Tue Nov 8 12:01:36 2016 +0000 Committer: Robert Gemmell <[email protected]> Committed: Tue Nov 8 12:01:36 2016 +0000 ---------------------------------------------------------------------- .../main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/efd033c9/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java ---------------------------------------------------------------------- diff --git a/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java b/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java index 178a27b..f407fd0 100644 --- a/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java +++ b/proton-j/src/main/java/org/apache/qpid/proton/reactor/impl/IOHandler.java @@ -154,10 +154,10 @@ public class IOHandler extends BaseHandler { socketChannel.configureBlocking(false); socketChannel.connect(new InetSocketAddress(hostname, port)); socket = socketChannel.socket(); - } catch(Exception ioException) { + } catch(Exception exception) { ErrorCondition condition = new ErrorCondition(); condition.setCondition(Symbol.getSymbol("proton:io")); - condition.setDescription(ioException.getMessage()); + condition.setDescription(exception.getMessage()); transport.setCondition(condition); transport.close_tail(); transport.close_head(); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
