[commit] r1207 - trunk/GME/MgaUtil

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Wed Mar 16 14:36:59 CDT 2011


Author: ksmyth
Date: Wed Mar 16 14:36:59 2011
New Revision: 1207

Log:
Fix error message that two people misinterpreted

Modified:
   trunk/GME/MgaUtil/MgaLauncher.cpp

Modified: trunk/GME/MgaUtil/MgaLauncher.cpp
==============================================================================
--- trunk/GME/MgaUtil/MgaLauncher.cpp	Wed Mar 16 13:20:43 2011	(r1206)
+++ trunk/GME/MgaUtil/MgaLauncher.cpp	Wed Mar 16 14:36:59 2011	(r1207)
@@ -782,11 +782,11 @@
 							if (supportErrorInfo && GetErrorInfo(&desc)) {
 								CString msg;
 								CopyTo(desc, msg);
-								msg = "Component error: " + msg;
+								msg = "Interpreter returned error: " + msg;
 								AfxMessageBox(msg, MB_OK | MB_ICONSTOP);
 								SysFreeString(desc);
 							} else {
-								DisplayError("Component error", hr);
+								DisplayError("Interpreter returned error", hr);
 							}
 							project->AbortTransaction();
 						}
@@ -809,7 +809,7 @@
 					}
 					catch(hresult_exception &e)	{
 						project->AbortTransaction();
-						DisplayError("Component error", e.hr);
+						DisplayError("Interpreter returned error", e.hr);
 					}
 					catch(...)
 					{
@@ -843,7 +843,7 @@
 					}
 				}
 				catch(hresult_exception &e)	{
-					DisplayError("Component error", e.hr);
+					DisplayError("Interpreter returned error", e.hr);
 				}
 			}				
 		}


More information about the gme-commit mailing list