CMessageManager::addErrorMessage

Description: Adds an error message to the error message stack and sets the error flag.
Parameter: