AppletLoader: slightly more meaningful and friendly error message.
This commit is contained in:
parent
7b9dcd5a18
commit
be84d03799
|
@ -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));
|
||||||
|
|
Loading…
Reference in New Issue