NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
CExceptionReporter Class Referenceabstract

Search Toolkit Book for CExceptionReporter

CExceptionReporter –. More...

#include <corelib/ncbiexpt.hpp>

+ Inheritance diagram for CExceptionReporter:
+ Collaboration diagram for CExceptionReporter:

Public Member Functions

 CExceptionReporter (void)
 Constructor. More...
 
virtual ~CExceptionReporter (void)
 Destructor. More...
 
virtual void Report (const char *file, int line, const string &title, const CException &ex, TDiagPostFlags flags=eDPF_Exception) const =0
 Report CException with _this_ reporter. More...
 

Static Public Member Functions

static void SetDefault (const CExceptionReporter *handler)
 Set default reporter. More...
 
static const CExceptionReporterGetDefault (void)
 Get default reporter. More...
 
static bool EnableDefault (bool enable)
 Enable/disable using default reporter. More...
 
static void ReportDefault (const CDiagCompileInfo &info, const string &title, const std::exception &ex, TDiagPostFlags flags=eDPF_Exception)
 Report exception using default reporter. More...
 
static void ReportDefaultEx (int err_code, int err_subcode, const CDiagCompileInfo &info, const string &title, const std::exception &ex, TDiagPostFlags flags=eDPF_Exception)
 Report exception using default reporter and particular error code and subcode when writing to diagnostics. More...
 

Static Private Attributes

static const CExceptionReportersm_DefHandler = 0
 Default handler. More...
 
static bool sm_DefEnabled = true
 Default enable flag. More...
 

Detailed Description

CExceptionReporter –.

Define exception reporter.

Definition at line 1398 of file ncbiexpt.hpp.


The documentation for this class was generated from the following files:
Modified on Sun May 12 04:56:58 2024 by modify_doxy.py rev. 669887