Go to the SVN repository for this file.
1 #ifndef LDS2_EXPT_HPP__ 2 #define LDS2_EXPT_HPP__ 60 switch( GetErrCode() ) {
61 caseeInvalidDbFile:
return "eInvalidDbFile";
62 caseeFileNotFound:
return "eFileNotFound";
63 caseeNotImplemented:
return "eNotImplemented";
64 caseeIndexerError:
return "eIndexerError";
65 caseeDuplicateId:
return "eDuplicateId";
74 #define LDS2_THROW(errcode, message) \ 75 throw CLDS2_Exception(DIAG_COMPILE_INFO, 0, CLDS2_Exception::errcode, \NCBI_EXCEPTION_DEFAULT(CLDS2_Exception, CException)
virtual const char * GetErrCodeString(void) const override
virtual const char * GetErrCodeString(void) const
Get error code interpreted as text.
#define EXCEPTION_VIRTUAL_BASE
Do not use virtual base classes in exception declaration at all, because in this case derived class s...
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define END_SCOPE(ns)
End the previously defined scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define BEGIN_SCOPE(ns)
Define a new scope.
Defines NCBI C++ exception handling.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4