[commit] r2748 - in trunk/GME: Meta Mga

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Jun 27 09:20:27 CDT 2018


Author: ksmyth
Date: Wed Jun 27 09:20:27 2018
New Revision: 2748

Log:
Fewer exceptions

Modified:
   trunk/GME/Meta/MgaMetaModel.cpp
   trunk/GME/Mga/MgaFCO.cpp

Modified: trunk/GME/Meta/MgaMetaModel.cpp
==============================================================================
--- trunk/GME/Meta/MgaMetaModel.cpp	Mon Apr  9 15:34:49 2018	(r2747)
+++ trunk/GME/Meta/MgaMetaModel.cpp	Wed Jun 27 09:20:27 2018	(r2748)
@@ -116,7 +116,8 @@
 			++i;
 		}
 
-		COMTHROW(E_NOTFOUND);
+		SetStandardOrGMEErrorInfo(E_NOTFOUND);
+		return E_NOTFOUND;
 	}
 	COMCATCH(;)
 }

Modified: trunk/GME/Mga/MgaFCO.cpp
==============================================================================
--- trunk/GME/Mga/MgaFCO.cpp	Mon Apr  9 15:34:49 2018	(r2747)
+++ trunk/GME/Mga/MgaFCO.cpp	Wed Jun 27 09:20:27 2018	(r2748)
@@ -603,7 +603,8 @@
 			}
 			if (ret == nullptr)
 			{
-				COMTHROW(E_NOTFOUND);
+				SetStandardOrGMEErrorInfo(E_NOTFOUND);
+				return E_NOTFOUND;
 			}
 			*pVal = ret.Detach();
 


More information about the gme-commit mailing list