A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSDB__Exception.html below:

NCBI C++ ToolKit: CSDB_Exception Class Reference

virtual const char *  GetErrCodeString (void) const override   Translate from the error code value to its string representation. More...
  const CDB_ExceptionGetDBException (void) const   Returns any underlying DBAPI exception, or else NULL. More...
  CDB_Exception::TErrCode  GetDBErrCode (void) const   Returns any underlying DBAPI error code, or else CException::eInvalid. More...
  const char *  GetDBErrCodeString (void) const   Returns any underlying DBAPI error code string, or else "eInvalid". More...
  const stringGetServerName (void) const   const stringGetUserName (void) const   const stringGetDatabaseName (void) const   const stringGetExtraMsg (void) const   Returns any additional context (typically, the relevant SQL statement or database operation). More...
  void  ReportExtra (ostream &os) const override   Report "non-standard" attributes. More...
  virtual ERetriable  GetRetriable (void) const override   Retrieve info about ability to retry an action caused the exception. More...
    CSDB_Exception (const CDiagCompileInfo &info, const CException *prev_exception, const CExceptionArgs< EErrCode > &args, const CDB_Exception::SMessageInContext &message)     CException (const CDiagCompileInfo &info, const CException *prev_exception, EErrCode err_code, const string &message, EDiagSev severity=eDiag_Error, TFlags flags=0)   Constructor. More...
    CException (const CDiagCompileInfo &info, const CException *prev_exception, const CExceptionArgs< EErrCode > &args, const string &message)     CException (const CException &other)   Copy constructor. More...
  void  AddBacklog (const CDiagCompileInfo &info, const string &message, EDiagSev severity=eDiag_Error)   Add a message to backlog (to re-throw the same exception then). More...
  void  AddPrevious (const CException *prev_exception)   void  AddToMessage (const string &add_msg)   virtual void  Throw (void) const   Polymorphically (re)throw an exception whose exact type is uncertain. More...
  virtual const char *  what (void) const noexcept   Standard report (includes full backlog). More...
  void  Report (const CDiagCompileInfo &info, const string &title, CExceptionReporter *reporter=0, TDiagPostFlags flags=eDPF_Exception) const   Report the exception. More...
  string  ReportThis (TDiagPostFlags flags=eDPF_Exception) const   Report this exception only. More...
  string  ReportAll (TDiagPostFlags flags=eDPF_Exception) const   Report all exceptions. More...
  void  ReportStd (ostream &out, TDiagPostFlags flags=eDPF_Exception) const   Report "standard" attributes. More...
  const CStackTraceGetStackTrace (void) const   Get the saved stack trace if available or NULL. More...
  EDiagSev  GetSeverity (void) const   Get exception severity. More...
  CExceptionSetSeverity (EDiagSev severity)   Set exception severity. More...
  virtual const char *  GetType (void) const   Get class name as a string. More...
  const stringGetFile (void) const   Get file name used for reporting. More...
  void  SetModule (const string &module)   Set module name used for reporting. More...
  const stringGetModule (void) const   Get module name used for reporting. More...
  void  SetClass (const string &nclass)   Set class name used for reporting. More...
  const stringGetClass (void) const   Get class name used for reporting. More...
  void  SetFunction (const string &function)   Set function name used for reporting. More...
  const stringGetFunction (void) const   Get function name used for reporting. More...
  int  GetLine (void) const   Get line number where error occurred. More...
  TErrCode  GetErrCode (void) const   Get error code. More...
  const stringGetMsg (void) const   Get message string. More...
  const CExceptionGetPredecessor (void) const   Get "previous" exception from the backlog. More...
  bool  HasMainText (void) const   Check if exception has main text in the chain. More...
  virtual  ~CException (void) noexcept   Destructor. More...
  bool  IsSetFlag (EFlags flag) const   Check if the flag is set. More...
  CExceptionSetFlag (EFlags flag)   Set flag (add to other flags) More...
  CExceptionUnsetFlag (EFlags flag)   Unset flag (other flags are left as is) More...
  CRequestContextGetRequestContext (void) const   Get the request context in which the exception was thrown. More...
  void  SetRetriable (ERetriable retriable)   Set the info about ability to retry an action caused the exception. More...
 

Exception class used throughout the API.

Definition at line 67 of file sdbapi.hpp.


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