catch null pointer exception that can be thrown on mac, app shouldn't explode now.

This commit is contained in:
kappa1 2010-10-07 20:38:50 +00:00
parent 8c79dfb363
commit e2b1e8dbd8
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ final class AWTUtil {
}
return null;
}
} catch (PrivilegedActionException e) {
} catch (Exception e) {
LWJGLUtil.log("Failed to query pointer location: " + e.getCause());
}
return null;