From commits-return-43673-archive-asf-public=cust-asf.ponee.io@qpid.apache.org Thu Feb 1 18:39:03 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 36454180652 for ; Thu, 1 Feb 2018 18:39:03 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 26355160C57; Thu, 1 Feb 2018 17:39:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 703ED160C35 for ; Thu, 1 Feb 2018 18:39:02 +0100 (CET) Received: (qmail 45861 invoked by uid 500); 1 Feb 2018 17:39:01 -0000 Mailing-List: contact commits-help@qpid.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@qpid.apache.org Delivered-To: mailing list commits@qpid.apache.org Received: (qmail 45852 invoked by uid 99); 1 Feb 2018 17:39:01 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Feb 2018 17:39:01 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 86934DFC27; Thu, 1 Feb 2018 17:39:01 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: kwall@apache.org To: commits@qpid.apache.org Date: Thu, 01 Feb 2018 17:39:01 -0000 Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: [1/2] qpid-broker-j git commit: QPID-8090: [Broker-J] Address review comments Repository: qpid-broker-j Updated Branches: refs/heads/7.0.x 0d6b0897d -> 90d7b41f0 QPID-8090: [Broker-J] Address review comments Project: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/commit/90d7b41f Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/90d7b41f Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/90d7b41f Branch: refs/heads/7.0.x Commit: 90d7b41f05a0bb66835424b9b84159f4cdd25fd2 Parents: 7384d4d Author: Alex Rudyy Authored: Thu Feb 1 15:07:15 2018 +0000 Committer: Keith Wall Committed: Thu Feb 1 17:38:51 2018 +0000 ---------------------------------------------------------------------- .../qpid/server/store/jdbc/bonecp/BoneCPConnectionProvider.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-broker-j/blob/90d7b41f/broker-plugins/jdbc-provider-bone/src/main/java/org/apache/qpid/server/store/jdbc/bonecp/BoneCPConnectionProvider.java ---------------------------------------------------------------------- diff --git a/broker-plugins/jdbc-provider-bone/src/main/java/org/apache/qpid/server/store/jdbc/bonecp/BoneCPConnectionProvider.java b/broker-plugins/jdbc-provider-bone/src/main/java/org/apache/qpid/server/store/jdbc/bonecp/BoneCPConnectionProvider.java index 3ee6881..bcfa0db 100644 --- a/broker-plugins/jdbc-provider-bone/src/main/java/org/apache/qpid/server/store/jdbc/bonecp/BoneCPConnectionProvider.java +++ b/broker-plugins/jdbc-provider-bone/src/main/java/org/apache/qpid/server/store/jdbc/bonecp/BoneCPConnectionProvider.java @@ -35,6 +35,7 @@ import java.util.stream.Collectors; import com.jolbox.bonecp.BoneCP; import com.jolbox.bonecp.BoneCPConfig; +import org.apache.qpid.server.configuration.IllegalConfigurationException; import org.apache.qpid.server.store.jdbc.ConnectionProvider; import org.apache.qpid.server.util.ServerScopedRuntimeException; @@ -84,7 +85,7 @@ public class BoneCPConnectionProvider implements ConnectionProvider } catch (Exception e) { - throw new ServerScopedRuntimeException("Unexpected exception on applying BoneCP configuration", e); + throw new IllegalConfigurationException("Unexpected exception on applying BoneCP configuration", e); } return config; } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org For additional commands, e-mail: commits-help@qpid.apache.org