Changed error message to add new messages to variable pMsgPart with newline instead of with a semicolon