NCBI C++ ToolKit
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
python::CInterfaceError Class Reference

Search Toolkit Book for python::CInterfaceError

#include "python_ncbi_dbapi.hpp"
(Private to src/dbapi/lang_bind/python.)

+ Inheritance diagram for python::CInterfaceError:
+ Collaboration diagram for python::CInterfaceError:

Public Member Functions

 CInterfaceError ()
 
 CInterfaceError (const CDB_Exception &e)
 
 CInterfaceError (const string &msg, long db_errno=0, const string &db_msg=kEmptyStr)
 
- Public Member Functions inherited from pythonpp::CUserError< CInterfaceError, CError >
 CUserError (void)
 
 CUserError (const string &msg)
 
- Public Member Functions inherited from pythonpp::CError
 CError (const string &msg)
 * Error testing and normalization *‍/ More...
 
 CError (PyObject *value)
 

Static Public Member Functions

static void Rethrow (const CDB_Exception &e)
 
- Static Public Member Functions inherited from pythonpp::CUserError< CInterfaceError, CError >
static void Declare (const string &name)
 
static void Declare (const string &name, const pythonpp::CDict &dict)
 
static PyObject * GetPyException (void)
 
- Static Public Member Functions inherited from pythonpp::CError
static void Check (void)
 
static void Check (const char *value)
 
static void Check (PyObject *obj)
 
static void Clear (void)
 
static void SetString (const string &msg)
 
static void SetObject (PyObject *value)
 

Protected Member Functions

 CInterfaceError (const string &msg, PyObject *err_type)
 
- Protected Member Functions inherited from pythonpp::CUserError< CInterfaceError, CError >
 CUserError (const string &msg, PyObject *err_type)
 
- Protected Member Functions inherited from pythonpp::CError
 CError (const string &msg, PyObject *err_type)
 
 CError (void)
 

Additional Inherited Members

- Static Protected Member Functions inherited from pythonpp::CError
static PyObject * GetPyException (void)
 
static void SetString (PyObject *excp_obj, const string &msg)
 
static void SetObject (PyObject *excp_obj, PyObject *value)
 
static void SetNone (PyObject *excp_obj)
 

Detailed Description

Definition at line 784 of file python_ncbi_dbapi.hpp.

Constructor & Destructor Documentation

◆ CInterfaceError() [1/4]

python::CInterfaceError::CInterfaceError ( )
inline

Definition at line 784 of file python_ncbi_dbapi.hpp.

◆ CInterfaceError() [2/4]

python::CInterfaceError::CInterfaceError ( const CDB_Exception e)
inline

Definition at line 784 of file python_ncbi_dbapi.hpp.

◆ CInterfaceError() [3/4]

python::CInterfaceError::CInterfaceError ( const string msg,
long  db_errno = 0,
const string db_msg = kEmptyStr 
)
inline

Definition at line 784 of file python_ncbi_dbapi.hpp.

◆ CInterfaceError() [4/4]

python::CInterfaceError::CInterfaceError ( const string msg,
PyObject *  err_type 
)
inlineprotected

Definition at line 784 of file python_ncbi_dbapi.hpp.

Member Function Documentation

◆ Rethrow()

static void python::CInterfaceError::Rethrow ( const CDB_Exception e)
inlinestatic

Definition at line 784 of file python_ncbi_dbapi.hpp.


The documentation for this class was generated from the following file:
Modified on Wed May 15 15:08:37 2024 by modify_doxy.py rev. 669887