C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
tool_err_handling.h File Reference

Error-handling services. More...

#include <math_define.h>
#include <mb_operation_result.h>
#include <system_atomic.h>
#include <stdexcept>
#include <tool_memory_debug.h>

Classes

class  ExceptionMode
 Definition of mode for exception handling. More...
 
class  ScopedExceptionMode
 Alter mode for exception handling in a scope. More...
 
class  FatalErrorHandler
 Handler of fatal errors. More...
 

Macros

#define C3D_CONTROLED_THROW_EX(expt)   if( ExceptionMode::IsEnabled() ) throw expt;
 Throw the specified exception if allowed by the exception mode.
 
#define C3D_CONTROLED_THROW   if( ExceptionMode::IsEnabled() ) throw;
 Throw exception if allowed by the mode for exception handling.
 

Detailed Description

Error-handling services.