mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
fix sonar rule check violations
This commit is contained in:
@@ -250,9 +250,9 @@ public class DruidDriver implements Driver, DruidDriverMBean {
|
||||
try {
|
||||
rawDriver = (Driver) rawDriverClass.newInstance();
|
||||
} catch (InstantiationException e) {
|
||||
throw new SQLException("create driver instance error, driver className '" + className + "'");
|
||||
throw new SQLException("create driver instance error, driver className '" + className + "'", e);
|
||||
} catch (IllegalAccessException e) {
|
||||
throw new SQLException("create driver instance error, driver className '" + className + "'");
|
||||
throw new SQLException("create driver instance error, driver className '" + className + "'", e);
|
||||
}
|
||||
|
||||
return rawDriver;
|
||||
|
||||
Reference in New Issue
Block a user