if (msg == null) {
if (msg == null || msg == messageIfOutOfMemory) {
  public String toString() {    String msg;    String classname;    try {      msg = getMessage();    } catch (OutOfMemoryError oom) {      msg = "<getMessage() ran out of memory; no text available>";    }    try {      classname = getClass().getName();    } catch (OutOfMemoryError oom) {      classname = "<getClass.getName() ran out of memory; no text available>";    }          if (msg == null) {      return classname;    } else {      try {	return classname + ": " + msg;      } catch (OutOfMemoryError oom) {	VM.sysWriteln("Throwable.toString(): No memory to concatenate two strings");	VM.sysWrite("Throwable.toString(): Will return just the class name \"");	VM.sysWrite(classname);	VM.sysWrite("\"\nThrowable.toString(): without the associated message \"");	VM.sysWrite(msg);	VM.sysWriteln("\".");	return classname;      }    }  }