db-ddlutils-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject svn commit: r371507 - /db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java
Date Mon, 23 Jan 2006 09:46:11 GMT
Author: tomdz
Date: Mon Jan 23 01:46:08 2006
New Revision: 371507

URL: http://svn.apache.org/viewcvs?rev=371507&view=rev
Log:
Made task more robust dumping driver/database properties

Modified:
    db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java

Modified: db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java
URL: http://svn.apache.org/viewcvs/db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java?rev=371507&r1=371506&r2=371507&view=diff
==============================================================================
--- db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java (original)
+++ db/ddlutils/trunk/src/java/org/apache/ddlutils/task/DumpMetadataTask.java Mon Jan 23 01:46:08
2006
@@ -293,8 +293,10 @@
         {
             addProperty(parent, getPropertyName(propGetter.getName()), propGetter.invoke(obj,
null));
         }
-        catch (Exception ex)
-        {}
+        catch (Throwable ex)
+        {
+            log("Could not dump property "+propGetter.getName()+" because of "+ex.getMessage(),
Project.MSG_WARN);
+        }
     }
 
     /**



Mime
View raw message