qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kw...@apache.org
Subject [1/2] qpid-broker-j git commit: QPID-8090: [Broker-J] Address review comments
Date Thu, 01 Feb 2018 17:39:01 GMT
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 <orudyy@apache.org>
Authored: Thu Feb 1 15:07:15 2018 +0000
Committer: Keith Wall <kwall@apache.org>
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


Mime
View raw message