fix dm function bug

This commit is contained in:
SwallowGG
2023-09-06 17:10:31 +08:00
committed by JiaJu Zhuang
parent 1af4d3f020
commit a0fdfc5822

View File

@ -85,7 +85,7 @@ public class IDriverManager {
try {
Connection connection = driverEntry.getDriver().connect(url, info);
if(connection == null){
throw new ConnectionException("driverEntry.getDriver().connect return null",null);
throw new SQLException("driver.connect return null , No suitable driver found for url " +url ,"08001");
}
return connection;
} catch (SQLException var7) {