Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
cExceptionBase.h File Reference
#include "cPtrFacade.h"
#include "StrT.h"
#include "cObject.h"
#include "cLogLevel.h"
#include <exception>

Go to the source code of this file.

Classes

class  Gray::cExceptionBase
 

Namespaces

 Gray
 < The main namespace for all Core functions.
 

Macros

#define GRAY_TRY   if (true) {
 
#define GRAY_TRY_CATCH(c, ex)   } else if (false) {
 
#define GRAY_TRY_CATCHALL   } else {
 
#define GRAY_TRY_END   }
 

Variables

class __DECL_IMPORT Gray::cException
 

Detailed Description

Wrap base exception classes: STL uses exception& MFC uses CException* (must call Delete()?) like C#/CLR uses Exception^

Macro Definition Documentation

◆ GRAY_TRY

#define GRAY_TRY   if (true) {

◆ GRAY_TRY_CATCH

#define GRAY_TRY_CATCH (   c,
  ex 
)    } else if (false) {

◆ GRAY_TRY_CATCHALL

#define GRAY_TRY_CATCHALL   } else {

◆ GRAY_TRY_END

#define GRAY_TRY_END   }