Ignoring exceptions is naughty.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@2717 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
samskivert
2010-02-09 20:26:40 +00:00
parent 654596a619
commit 43a06a8acd
2 changed files with 3 additions and 2 deletions
+2 -2
View File
@@ -909,8 +909,8 @@ public class Table<T>
serializableClass = Serializable.class;
Class<?> c = Class.forName("java.lang.reflect.AccessibleObject");
setBypass = c.getMethod("setAccessible", new Class<?>[] { Boolean.TYPE });
} catch(Exception ex) {
// nothing to do
} catch (Exception ex) {
System.err.println("Unable to reflect AccessibleObject.setAccessible: " + ex);
}
}
}
@@ -105,6 +105,7 @@ public class OneLineLogFormatter extends Formatter
pw.close();
buf.append(sw.toString());
} catch (Exception ex) {
buf.append("Format failure:").append(ex);
}
}