[commit] r1463 - trunk/SDK/BON/Common

GMESRC Repository Notifications gme-commit at list.isis.vanderbilt.edu
Thu Aug 4 15:33:52 CDT 2011


Author: ksmyth
Date: Thu Aug  4 15:33:51 2011
New Revision: 1463

Log:
-1 is not a HRESULT; use E_FAIL

Modified:
   trunk/SDK/BON/Common/Exceptions.cpp

Modified: trunk/SDK/BON/Common/Exceptions.cpp
==============================================================================
--- trunk/SDK/BON/Common/Exceptions.cpp	Mon Aug  1 11:37:47 2011	(r1462)
+++ trunk/SDK/BON/Common/Exceptions.cpp	Thu Aug  4 15:33:51 2011	(r1463)
@@ -219,7 +219,7 @@
 	//}
 
 	Exception::Exception( std::string strMessage, const StringVector& vecParameters )
-		: Util::Exception( strMessage, vecParameters ), m_hResult( -1 )
+		: Util::Exception( strMessage, vecParameters ), m_hResult( E_FAIL )
 	{
 	}
 
@@ -272,7 +272,7 @@
 	//}
 
 	Exception::Exception( std::string strMessage, const StringVector& vecParameters )
-		: Util::Exception( strMessage, vecParameters ), m_hResult( -1 )
+		: Util::Exception( strMessage, vecParameters ), m_hResult( E_FAIL )
 	{
 	}
 


More information about the gme-commit mailing list