Other errors can occur when loading native keyboard lib, such as security exceptions, so let's catch those too and cope.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@342 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Mike Thomas
2007-11-13 00:44:53 +00:00
parent 75152bf968
commit 785eb10234
@@ -74,9 +74,9 @@ public class Keyboard
log.info("Native keyboard library initialization failed.");
}
} catch (UnsatisfiedLinkError e) {
} catch (Throwable t) {
log.warning("Failed to load native keyboard library " +
"[e=" + e + "].");
"[cause=" + t + "].");
_haveLib = false;
}
}