From 9be3870b161089f420bd8057eb3ff96e991e70e8 Mon Sep 17 00:00:00 2001 From: bmalinowsky Date: Mon, 15 Feb 2016 13:46:03 +0100 Subject: [PATCH] Replace message-only with cause --- src/tuwien/auto/calimero/knxnetip/ClientConnection.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tuwien/auto/calimero/knxnetip/ClientConnection.java b/src/tuwien/auto/calimero/knxnetip/ClientConnection.java index e4c22eda..b9891fae 100644 --- a/src/tuwien/auto/calimero/knxnetip/ClientConnection.java +++ b/src/tuwien/auto/calimero/knxnetip/ClientConnection.java @@ -1,6 +1,6 @@ /* Calimero 2 - A library for KNX network access - Copyright (c) 2010, 2015 B. Malinowsky + Copyright (c) 2010, 2016 B. Malinowsky This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -170,7 +170,7 @@ protected void connect(final InetSocketAddress localEP, final InetSocketAddress if (localEP.getAddress().isLoopbackAddress()) logger.warn("try to specify the actual IP address of the local host"); LogManager.getManager().removeLogService(logger.getName()); - throw new KNXException("on connect to " + serverCtrlEP + ": " + thrown.getMessage()); + throw new KNXException("on connect to " + serverCtrlEP, thrown); } logger.trace("wait for connect response from " + ctrlEndpt + " ...");