[commit] r2593 - trunk/GME/Meta

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Apr 27 13:16:32 CDT 2015


Author: ksmyth
Date: Mon Apr 27 13:16:32 2015
New Revision: 2593

Log:
Better error message

Modified:
   trunk/GME/Meta/MgaMetaModel.cpp

Modified: trunk/GME/Meta/MgaMetaModel.cpp
==============================================================================
--- trunk/GME/Meta/MgaMetaModel.cpp	Tue Apr 14 12:52:42 2015	(r2592)
+++ trunk/GME/Meta/MgaMetaModel.cpp	Mon Apr 27 13:16:32 2015	(r2593)
@@ -84,7 +84,7 @@
 			++i;
 		}
 
-		COMTHROW(E_NOTFOUND);
+		throw_com_error(E_NOTFOUND, _bstr_t(L"Role name '") + name + L"' not found in model " + static_cast<CMgaMetaFCO *const>(this)->GetName());
 	}
 	COMCATCH(;)
 }


More information about the gme-commit mailing list