void receiveError(String& errorMessage) { receiveError(errorMessage, NS_ERROR_FAILURE);
void ProcessorState::receiveError(const nsAString& errorMessage, nsresult aRes) { txListIterator iter(&errorObservers); while (iter.hasNext()) { ErrorObserver* observer = (ErrorObserver*)iter.next(); observer->receiveError(errorMessage, aRes);
    void receiveError(String& errorMessage)    {        receiveError(errorMessage, NS_ERROR_FAILURE);    }