You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ddlutils-dev@db.apache.org by to...@apache.org on 2007/02/17 06:15:36 UTC

svn commit: r508714 - /db/ddlutils/trunk/src/test/org/apache/ddlutils/TestSummaryCreatorTask.java

Author: tomdz
Date: Fri Feb 16 21:15:35 2007
New Revision: 508714

URL: http://svn.apache.org/viewvc?view=rev&rev=508714
Log:
Made the test summary test more robust

Modified:
    db/ddlutils/trunk/src/test/org/apache/ddlutils/TestSummaryCreatorTask.java

Modified: db/ddlutils/trunk/src/test/org/apache/ddlutils/TestSummaryCreatorTask.java
URL: http://svn.apache.org/viewvc/db/ddlutils/trunk/src/test/org/apache/ddlutils/TestSummaryCreatorTask.java?view=diff&rev=508714&r1=508713&r2=508714
==============================================================================
--- db/ddlutils/trunk/src/test/org/apache/ddlutils/TestSummaryCreatorTask.java (original)
+++ db/ddlutils/trunk/src/test/org/apache/ddlutils/TestSummaryCreatorTask.java Fri Feb 16 21:15:35 2007
@@ -341,7 +341,7 @@
             {
                 element.addAttribute("dbProductName", metaData.getDatabaseProductName());
             }
-            catch (Exception ex)
+            catch (Throwable ex)
             {
                 // we ignore it
             }
@@ -349,7 +349,7 @@
             {
                 element.addAttribute("dbProductVersion", metaData.getDatabaseProductVersion());
             }
-            catch (Exception ex)
+            catch (Throwable ex)
             {
                 // we ignore it
             }
@@ -360,7 +360,7 @@
 
                 element.addAttribute("dbVersion", databaseMajorVersion + "." + databaseMinorVersion);
             }
-            catch (Exception ex)
+            catch (Throwable ex)
             {
                 // we ignore it
             }
@@ -368,7 +368,7 @@
             {
                 element.addAttribute("driverName", metaData.getDriverName());
             }
-            catch (Exception ex)
+            catch (Throwable ex)
             {
                 // we ignore it
             }
@@ -376,7 +376,7 @@
             {
                 element.addAttribute("driverVersion", metaData.getDriverVersion());
             }
-            catch (Exception ex)
+            catch (Throwable ex)
             {
                 // we ignore it
             }
@@ -387,7 +387,7 @@
 
                 element.addAttribute("jdbcVersion", jdbcMajorVersion + "." + jdbcMinorVersion);
             }
-            catch (Exception ex)
+            catch (Throwable ex)
             {
                 // we ignore it
             }