EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style
This commit is contained in:
@@ -147,10 +147,7 @@ public class DriverManagerDataSource extends AbstractDriverBasedDataSource {
|
||||
Class.forName(driverClassNameToUse, true, ClassUtils.getDefaultClassLoader());
|
||||
}
|
||||
catch (ClassNotFoundException ex) {
|
||||
IllegalStateException ise =
|
||||
new IllegalStateException("Could not load JDBC driver class [" + driverClassNameToUse + "]");
|
||||
ise.initCause(ex);
|
||||
throw ise;
|
||||
throw new IllegalStateException("Could not load JDBC driver class [" + driverClassNameToUse + "]", ex);
|
||||
}
|
||||
if (logger.isInfoEnabled()) {
|
||||
logger.info("Loaded JDBC driver: " + driverClassNameToUse);
|
||||
|
||||
Reference in New Issue
Block a user