[GME-commit] GMESRC/Tools/GMETableEditor GridDlg.cpp,1.10,1.11
gme-commit at list.isis.vanderbilt.edu
gme-commit at list.isis.vanderbilt.edu
Tue May 11 11:28:46 CDT 2004
Update of /var/lib/gme/GMESRC/Tools/GMETableEditor
In directory braindrain:/tmp/cvs-serv10212/Tools/GMETableEditor
Modified Files:
GridDlg.cpp
Log Message:
rethrow HRESULT exception on import to use GME's handler
CVS User: brianw
Index: GridDlg.cpp
===================================================================
RCS file: /var/lib/gme/GMESRC/Tools/GMETableEditor/GridDlg.cpp,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** GridDlg.cpp 9 Apr 2004 19:20:40 -0000 1.10
--- GridDlg.cpp 11 May 2004 15:28:44 -0000 1.11
***************
*** 1004,1007 ****
--- 1004,1012 ----
AfxMessageBox("A GME COM error occurred on import. Does this file match the current project?");
CDialog::OnCancel();
+ throw; //rethrow, for the user to get a more detailed message from GME
+ }
+ catch(const XMLException &e)
+ {
+ CDialog::OnCancel();
}
More information about the GME-commit
mailing list