NCBI C++ ToolKit
|
Search Toolkit Book for CRegistryException
#include <corelib/ncbireg.hpp>
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 CException * | x_Clone (void) const override |
Helper clone method. More... | |
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.