AppletLoader: slightly more meaningful and friendly error message.

This commit is contained in:
kappa1 2010-07-12 20:19:21 +00:00
parent 7b9dcd5a18
commit be84d03799
1 changed files with 1 additions and 1 deletions

View File

@ -1535,7 +1535,7 @@ public class AppletLoader extends Applet implements Runnable, AppletStub {
*/ */
protected void fatalErrorOccured(String error, Exception e) { protected void fatalErrorOccured(String error, Exception e) {
fatalError = true; fatalError = true;
fatalErrorDescription = "Fatal error occured (" + state + "): " + error; fatalErrorDescription = "This occurred while '" + getDescriptionForState() + "'";
System.out.println(fatalErrorDescription); System.out.println(fatalErrorDescription);
if(e != null) { if(e != null) {
System.out.println(generateStacktrace(e)); System.out.println(generateStacktrace(e));