[commit] r1727 - trunk/GME/Common

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Mon Dec 5 13:24:15 CST 2011


Author: ksmyth
Date: Mon Dec  5 13:24:14 2011
New Revision: 1727

Log:
Dont ASSERT before throwing exceptions

Modified:
   trunk/GME/Common/CommonError.h

Modified: trunk/GME/Common/CommonError.h
==============================================================================
--- trunk/GME/Common/CommonError.h	Fri Dec  2 16:01:20 2011	(r1726)
+++ trunk/GME/Common/CommonError.h	Mon Dec  5 13:24:14 2011	(r1727)
@@ -35,7 +35,6 @@
 do { \
 	HRESULT _hr = (FUNC); \
 	if( FAILED(_hr) ) { \
-		ASSERT(("COMTHROW: Throwing HRESULT exception. Press IGNORE", false)); \
 		throw hresult_exception(_hr); \
 	} \
 } while(false)
@@ -43,7 +42,6 @@
 #define VERIFYTHROW(FUNC) \
 do { \
 	if( !(bool)(FUNC) ) { \
-		ASSERT(("VERIFYTHROW: Throwing VERIFY exception. Press IGNORE", false)); \
 		throw hresult_exception(E_VERIFY); \
 	} \
 } while(false)
@@ -53,7 +51,6 @@
 
 #define HR_THROW(_hr) \
 do { \
-	ASSERT(("HR_THROW: Throwing HRESULT exception. Press IGNORE", false)); \
 	throw hresult_exception(_hr); \
 } while(false)
 


More information about the gme-commit mailing list