commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pste...@apache.org
Subject svn commit: r829366 - /commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
Date Sat, 24 Oct 2009 13:41:41 GMT
Author: psteitz
Date: Sat Oct 24 13:41:41 2009
New Revision: 829366

URL: http://svn.apache.org/viewvc?rev=829366&view=rev
Log:
Added throw omitted in r754776.

Modified:
    commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java

Modified: commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java
URL: http://svn.apache.org/viewvc/commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java?rev=829366&r1=829365&r2=829366&view=diff
==============================================================================
--- commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java (original)
+++ commons/proper/dbcp/trunk/src/java/org/apache/commons/dbcp/BasicDataSource.java Sat Oct
24 13:41:41 2009
@@ -1402,7 +1402,7 @@
                 // respect the ContextClassLoader
                 driver = (Driver) driverFromCCL.newInstance();
                 if (!driver.acceptsURL(url)) {
-                    new SQLException("No suitable driver", "08001"); 
+                    throw new SQLException("No suitable driver", "08001"); 
                 }
             }
         } catch (Throwable t) {



Mime
View raw message