From b9bf624e7ac6c577f5355a8672eaaea095f2a5dc Mon Sep 17 00:00:00 2001 From: Tudor Malene Date: Fri, 8 Jun 2018 10:24:00 +0100 Subject: [PATCH] ENT-1873 address code review changes (#3323) --- node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt b/node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt index bfe1856851..c294d9fe09 100644 --- a/node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt +++ b/node/src/main/kotlin/net/corda/node/internal/AbstractNode.kt @@ -1025,7 +1025,7 @@ fun configureDatabase(hikariProperties: Properties, } catch (ex: Exception) { when { ex is HikariPool.PoolInitializationException -> throw CouldNotCreateDataSourceException("Could not connect to the database. Please check your JDBC connection URL, or the connectivity to the database.") - ex.cause is ClassNotFoundException -> throw CouldNotCreateDataSourceException("Could not find the database driver class. Please add it to the 'drivers' folders. See: https://docs.corda.net/corda-configuration-file.html") + ex.cause is ClassNotFoundException -> throw CouldNotCreateDataSourceException("Could not find the database driver class. Please add it to the 'drivers' folder. See: https://docs.corda.net/corda-configuration-file.html") else -> throw CouldNotCreateDataSourceException("Could not create the DataSource: ${ex.message}", ex) } }