Report the JDBC driver class that we attempted to load when we report a

failure to load said class.


git-svn-id: https://samskivert.googlecode.com/svn/trunk@58 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
mdb
2001-03-01 02:04:09 +00:00
parent 04579d4623
commit be76920fb3
@@ -1,5 +1,5 @@
// //
// $Id: Repository.java,v 1.2 2001/02/13 05:55:57 mdb Exp $ // $Id: Repository.java,v 1.3 2001/03/01 02:04:09 mdb Exp $
package com.samskivert.jdbc; package com.samskivert.jdbc;
@@ -52,7 +52,8 @@ public abstract class Repository
// the only reason session.open() fails is class not found // the only reason session.open() fails is class not found
if (!_session.open(url, username, password)) { if (!_session.open(url, username, password)) {
throw new SQLException("Unable to load JDBC driver class."); throw new SQLException("Unable to load JDBC driver class: " +
dclass);
} }
// set auto-commit to false // set auto-commit to false