Be more specific about what we catch.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2741 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-02-10 01:01:11 +00:00
parent b4c32aeb84
commit ad3736e055
+4 -2
View File
@@ -502,8 +502,10 @@ public class Table<T>
for (int i = f.length; --i>= 0;) { for (int i = f.length; --i>= 0;) {
setBypass.invoke(f[i], bypassFlag); setBypass.invoke(f[i], bypassFlag);
} }
} catch(Exception ex) { } catch (IllegalAccessException iae) {
System.err.println("Failed to set bypass attribute"); System.err.println("Failed to set bypass attribute: " + iae);
} catch (InvocationTargetException ite) {
System.err.println("Failed to set bypass attribute: " + ite);
} }
int n = 0; int n = 0;