fixed a small bug in the reporting of errors in PdeRuntime

This commit is contained in:
benfry
2004-07-13 03:09:56 +00:00
parent e9436e24d4
commit fa1eff48c1

View File

@@ -400,7 +400,8 @@ java.lang.NullPointerException
// " at javatest.<init>(javatest.java:5)"
// -> "javatest.<init>(javatest.java:5)"
int afterAt = s.indexOf("at") + 3;
if (afterAt == -1) {
//if (afterAt == -1) {
if (afterAt == 2) { // means indexOf was -1
System.err.println(s);
return;
}