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:
Michael Bayne
2005-05-24 17:55:52 +00:00
parent 56deaa4982
commit 862ff8a9eb
+4 -4
View File
@@ -136,8 +136,8 @@ public class JmeApp
return true; return true;
} catch (Exception e) { } catch (Throwable t) {
reportInitFailure(e); reportInitFailure(t);
return false; return false;
} }
} }
@@ -342,9 +342,9 @@ public class JmeApp
* Called when initialization fails to give the application a chance * Called when initialization fails to give the application a chance
* to report the failure to the user. * to report the failure to the user.
*/ */
protected void reportInitFailure (Exception e) protected void reportInitFailure (Throwable t)
{ {
Log.logStackTrace(e); Log.logStackTrace(t);
} }
/** /**