The returned object can be any subclass of MData.
virtual void setException(const MString& rsRemoteException, MData* pExceptData);