Fixed (?) an annoying FindBugs warning in TimeBasedUuidGenerator

This commit is contained in:
Trustin Lee 2009-01-20 04:28:26 +00:00
parent bcbd0f9238
commit 1924e30482

View File

@ -95,7 +95,7 @@ public class TimeBasedUuidGenerator {
nodeKey.append(':');
nodeKey.append(vmId);
} catch (Exception e) {
} catch (Throwable t) {
// Perhaps running with a security manager (e.g. Applet) or on a
// platform without the java.lang.management package (e.g. Android.)
nodeKey.append(":?");