Catch Throwable because LWJGL kindly throws errors during initialization
in addition to exceptions. Yay! git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3574 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -136,8 +136,8 @@ public class JmeApp
|
||||
|
||||
return true;
|
||||
|
||||
} catch (Exception e) {
|
||||
reportInitFailure(e);
|
||||
} catch (Throwable t) {
|
||||
reportInitFailure(t);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
@@ -342,9 +342,9 @@ public class JmeApp
|
||||
* Called when initialization fails to give the application a chance
|
||||
* to report the failure to the user.
|
||||
*/
|
||||
protected void reportInitFailure (Exception e)
|
||||
protected void reportInitFailure (Throwable t)
|
||||
{
|
||||
Log.logStackTrace(e);
|
||||
Log.logStackTrace(t);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user