oraerror.cpp

来自「在动态库中实现异步导出大数据量的oracle数据」· C++ 代码 · 共 47 行

CPP
47
字号
#include "stdafx.h"

#define __OCICPP_INTERNAL_USE_
#include "OraError.h"

/*! \class OCICPP::OraError
  \brief Representation of Oracle and internal OCICPPLIB errors structured exceptions handling
 */

/*! \var OCICPP::OraError::message
  Cleartext error message
*/
/*! \var OCICPP::OraError::errtype
  Type of the error (currently: location, where the error occurred)
 */

/*! \fn OCICPP::OraError::OraError(OCIError *err,sword status)
  Create a new object from an OCIError \a err .
 */
/*! \fn OCICPP::OraError::OraError(char *err,sword status)
 */
/*! \fn OCICPP::OraError::OraError(string &mess,OCICPP::ErrorType t)
 */
/*! \fn OCICPP::OraError::OraError(int err)
 */
/*! \fn OCICPP::OraError::~OraError()
 */



OCICPP::ErrorType OCICPP::OraError::errtype () const throw ()
{
  return mv_errtype;
}

const char* OCICPP::OraError::what () const throw ()
{
  return message.c_str();
}







⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?