NCBI C++ ToolKit
Classes | Macros
dbexception.hpp File Reference
#include <dbapi/driver/exception.hpp>
+ Include dependency graph for dbexception.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Go to the SVN repository for this file.

Classes

class  CDbapiException
 

Macros

#define NCBI_DBAPI_THROW(message)
 
#define CHECK_NCBI_DBAPI(failed, message)    if ( ( failed ) ) { NCBI_DBAPI_THROW( message ); }
 

Macro Definition Documentation

◆ CHECK_NCBI_DBAPI

#define CHECK_NCBI_DBAPI (   failed,
  message 
)     if ( ( failed ) ) { NCBI_DBAPI_THROW( message ); }

Definition at line 62 of file dbexception.hpp.

◆ NCBI_DBAPI_THROW

#define NCBI_DBAPI_THROW (   message)
Value:
do { \
CDbapiException ex( DIAG_COMPILE_INFO, 0, (message) ); \
ex.SetRetriable(eRetriable_No); \
throw ex; \
} while (0)
@ eRetriable_No
It makes no sense to retry the action.
Definition: ncbimisc.hpp:168
#define DIAG_COMPILE_INFO
Make compile time diagnostic information object to use in CNcbiDiag and CException.
Definition: ncbidiag.hpp:170

Definition at line 55 of file dbexception.hpp.

Modified on Fri Sep 20 14:58:11 2024 by modify_doxy.py rev. 669887