ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

fbtxcpt.h
Go to the documentation of this file.
00001 #ifndef _FBT_EXCEPT_H
00002 
00003 #include "fbtLog.h"
00004 
00005 #ifdef __cplusplus
00006 
00007 #include "fbtSeXcpt.h"
00008 
00009 #define FBT_TRY try {
00010 #define FBT_CATCH } catch (fbtSeException *e) { fbtLog(fbtLog_Failure, "Exception %08X caught at line %u in file %s", e->GetSeCode(), __LINE__, __FILE__); fbtLog(fbtLog_Exception, "Exception %08X caught at line %u in file %s", e->GetSeCode(), __LINE__, __FILE__);
00011 #define FBT_CATCH_RETURN(RETVAL) FBT_CATCH return RETVAL;}
00012 #define FBT_CATCH_NORETURN FBT_CATCH return;}
00013 
00014 #else
00015 
00016 #define FBT_TRY __try{
00017 #define FBT_CATCH } __except(EXCEPTION_EXECUTE_HANDLER) { fbtLog(fbtLog_Failure, "Exception %08X caught at line %u in file %s (%s)", GetExceptionCode(), __LINE__, __FILE__, GetCommandLine()); fbtLog(fbtLog_Exception, "Exception %08X caught at line %u in file %s (%s)", GetExceptionCode(), __LINE__, __FILE__, GetCommandLine());
00018 #define FBT_CATCH_RETURN(RETVAL) FBT_CATCH return RETVAL;}
00019 #define FBT_CATCH_NORETURN FBT_CATCH return;}
00020 #define FBT_CATCH_NODEBUG_RETURN(x) } __except(EXCEPTION_EXECUTE_HANDLER) { return x;}
00021 
00022 #endif // __cplusplus
00023 
00024 #endif _FBT_EXCEPT_H

Generated on Sat May 26 2012 04:25:44 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.