Author: max.andersen(a)jboss.com
Date: 2006-09-21 02:29:38 -0400 (Thu, 21 Sep 2006)
New Revision: 10502
Modified:
trunk/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java
Log:
don't swallow too generic exception
Modified: trunk/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java
===================================================================
--- trunk/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java 2006-09-21
06:28:59 UTC (rev 10501)
+++ trunk/HibernateExt/tools/src/java/org/hibernate/cfg/reveng/JDBCReader.java 2006-09-21
06:29:38 UTC (rev 10502)
@@ -712,10 +712,10 @@
}
}
}
- catch (Throwable t) {
+ catch (JDBCException t) {
log.warn("Exception while trying to get indexinfo on " +
Table.qualify(table.getCatalog(), table.getSchema(), table.getName() ) + "=" +
t.getMessage() );
// Bug #604761 Oracle getIndexInfo() needs major grants And other dbs sucks too ;)
- //
http://sourceforge.net/tracker/index.php?func=detail&aid=604761&g...
+ //
http://sourceforge.net/tracker/index.php?func=detail&aid=604761&g...
}
finally {
if (indexIterator != null) {