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