mksqlite  2.5
A MATLAB interface to SQLite
Public Member Functions | List of all members
SQLerror Class Reference

Class holding an error. More...

#include <sql_interface.hpp>

+ Inheritance diagram for SQLerror:
+ Collaboration diagram for SQLerror:

Public Member Functions

void setSqlError (sqlite3 *dbid, int rc)
 Set error by its result code.
 
const char * trans_err_to_ident (int errorcode)
 Get least SQLite error code and return identifier as string.
 
- Public Member Functions inherited from Err
 Err ()
 Constructor.
 
void clear ()
 Reset error message.
 
void set (const char *strMsg, const char *strId=NULL)
 Set error message to a constant string (without translation) More...
 
void set (char *strMsg, const char *strId=NULL)
 Set error message to non-constant string (no translation) More...
 
void set (int iMessageNr, const char *strId=NULL)
 Set error message by identifier (translations available) More...
 
void set_printf (int iMessageNr, const char *strId,...)
 Set error message by identifier (translations available) with printf arguments. More...
 
void set_printf (const char *fmt, const char *strId,...)
 Set error message by format string with arguments. More...
 
const char * get (const char **errId=NULL)
 Get the current error message. More...
 
int getMsgId ()
 Get the current message identifier.
 
bool isPending ()
 Returns true, if the current error message is still not handled.
 
void warn (int iMessageNr)
 Omits a warning with the current error message.
 

Detailed Description

Class holding an error.

Definition at line 46 of file sql_interface.hpp.


The documentation for this class was generated from the following file: