db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r433011 - /db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java
Date Sun, 20 Aug 2006 18:56:39 GMT
Author: tfischer
Date: Sun Aug 20 11:56:38 2006
New Revision: 433011

URL: http://svn.apache.org/viewvc?rev=433011&view=rev
Log:
adjusted to changes in DBFactory

Modified:
    db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java

Modified: db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java
URL: http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java?rev=433011&r1=433010&r2=433011&view=diff
==============================================================================
--- db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java (original)
+++ db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java Sun Aug 20 11:56:38
2006
@@ -242,14 +242,7 @@
                     
                     DB db;
                     
-                    try
-                    {
-                        db = DBFactory.create(adapter);
-                    }
-                    catch (InstantiationException e)
-                    {
-                        db = null;
-                    }
+                    db = DBFactory.create(adapter);
                     
                     // Not supported, try manually defined adapter class
                     if (db == null)



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message