EL container integration; support for contextual objects; removal of deprecated Spring 2.0 functionality; Java 5 code style

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@305 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Juergen Hoeller
2008-11-20 02:10:53 +00:00
parent 238ef68234
commit a5253bec7f
281 changed files with 6120 additions and 9903 deletions
@@ -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);