*errStream << errorMessage << endl; errStream->flush(); #endif }
void SimpleErrorObserver::receiveError(const String& errorMessage,                                       nsresult aRes){#ifdef TX_EXE    if (NS_FAILED(aRes)) {        *errStream << "error: ";    }    *errStream << errorMessage << endl;    errStream->flush();#endif}