NCBI C++ ToolKit
Public Types | Public Member Functions | List of all members
CRegistryException Class Reference

Search Toolkit Book for CRegistryException

CRegistryException –. More...

#include <corelib/ncbireg.hpp>

+ Inheritance diagram for CRegistryException:
+ Collaboration diagram for CRegistryException:

Public Types

enum  EErrCode {
  eSection , eEntry , eValue , eUnencrypted ,
  eDecryptionFailed , eErr
}
 Error types that the Registry can generate. More...
 
- Public Types inherited from CParseTemplException< CCoreException >
enum  EErrCode
 Error types that for exception class. More...
 
typedef int TErrCode
 

Public Member Functions

virtual const char * GetErrCodeString (void) const override
 Translate from the error code value to its string representation. More...
 
 NCBI_EXCEPTION_DEFAULT2 (CRegistryException, CParseTemplException< CCoreException >, std::string::size_type)
 
- Public Member Functions inherited from CParseTemplException< CCoreException >
 CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, EErrCode err_code, const string &message, string::size_type pos, EDiagSev severity=eDiag_Error)
 Constructor. More...
 
 CParseTemplException (const CParseTemplException< CCoreException > &other)
 Constructor. More...
 
virtual ~CParseTemplException (void) noexcept
 Destructor. More...
 
virtual void ReportExtra (ostream &out) const override
 Report error position. More...
 
virtual const char * GetType (void) const override
 Get exception class type. More...
 
TErrCode GetErrCode (void) const
 Get error code. More...
 
string::size_type GetPos (void) const noexcept
 Get error position. More...
 

Additional Inherited Members

- Protected Member Functions inherited from CParseTemplException< CCoreException >
 CParseTemplException (const CDiagCompileInfo &info, const CException *prev_exception, const string &message, string::size_type pos, EDiagSev severity, CException::TFlags flags)
 
 CParseTemplException (void)
 Constructor. More...
 
virtual const CExceptionx_Clone (void) const override
 Helper clone method. More...
 

Detailed Description

CRegistryException –.

Define exceptions generated by IRegistry and derived classes.

CRegistryException inherits its basic functionality from CCParseTemplException<CCoreException> and defines additional error codes for the Registry.

Definition at line 1004 of file ncbireg.hpp.


The documentation for this class was generated from the following files:
Modified on Thu Apr 25 08:17:44 2024 by modify_doxy.py rev. 669887