qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oru...@apache.org
Subject qpid-broker-j git commit: QPID-8090: [Broker-J] Address review comments
Date Thu, 01 Feb 2018 15:07:30 GMT
Repository: qpid-broker-j
Updated Branches:
  refs/heads/master 7410b29d1 -> 8576f6d4f


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/8576f6d4
Tree: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/tree/8576f6d4
Diff: http://git-wip-us.apache.org/repos/asf/qpid-broker-j/diff/8576f6d4

Branch: refs/heads/master
Commit: 8576f6d4fd3ba79fad6a7406c262b6b16c28bb87
Parents: 7410b29
Author: Alex Rudyy <orudyy@apache.org>
Authored: Thu Feb 1 15:07:15 2018 +0000
Committer: Alex Rudyy <orudyy@apache.org>
Committed: Thu Feb 1 15:07:15 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/8576f6d4/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


Mime
View raw message