[Tynstep-svn] r60 - trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/server/db
ChrisBurrell at crosswire.org
ChrisBurrell at crosswire.org
Fri Dec 18 04:55:52 MST 2009
Author: ChrisBurrell
Date: 2009-12-18 04:55:52 -0700 (Fri, 18 Dec 2009)
New Revision: 60
Modified:
trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/server/db/DbProvider.java
Log:
updates to build and so on
Modified: trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/server/db/DbProvider.java
===================================================================
--- trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/server/db/DbProvider.java 2009-12-18 11:28:21 UTC (rev 59)
+++ trunk/step-web-app/src/main/java/com/tyndalehouse/step/web/server/db/DbProvider.java 2009-12-18 11:55:52 UTC (rev 60)
@@ -4,6 +4,8 @@
import java.sql.DriverManager;
import java.sql.SQLException;
+import org.apache.derby.client.am.SqlException;
+
import com.tyndalehouse.step.web.server.common.ConfigNotLoadedException;
import com.tyndalehouse.step.web.server.common.ConfigProvider;
@@ -26,13 +28,14 @@
} catch (ClassNotFoundException e) {
//TODO: lookup GUICE and see about providers to log with our loggers
e.printStackTrace();
+ throw new SQLException(e);
} catch (ConfigNotLoadedException e1) {
- // TODO Auto-generated catch block
e1.printStackTrace();
+ throw new SQLException(e1);
} catch(Throwable t) {
t.printStackTrace();
+ throw new SQLException(t);
}
- return null;
}
public static void finaliseConnection(Connection connection) throws SQLException {
More information about the Tynstep-svn
mailing list