fastcgi++
Public Member Functions | Public Attributes
ASql::Error Struct Reference

SQL Error. More...

#include <exception.hpp>

Inheritance diagram for ASql::Error:
ASql::MySQL::Error

List of all members.

Public Member Functions

 Error (const char *msg_, const int erno_)
 Error ()
const char * what () const throw ()
 Error (const Error &e)

Public Attributes

int erno
 Associated error number.
const char * msg
 Pointer to string data explaining error.

Detailed Description

SQL Error.

Definition at line 6 of file exception.hpp.


Constructor & Destructor Documentation

ASql::Error::Error ( const char *  msg_,
const int  erno_ 
) [inline]
Parameters:
[in]msg_Pointer to string explaining error.
[in]erno_Associated error number.

Definition at line 18 of file exception.hpp.

ASql::Error::Error ( ) [inline]

Definition at line 19 of file exception.hpp.

ASql::Error::Error ( const Error e) [inline]

Definition at line 22 of file exception.hpp.


Member Function Documentation

const char* ASql::Error::what ( ) const throw () [inline]

Definition at line 20 of file exception.hpp.

References msg.


Member Data Documentation

Associated error number.

Definition at line 9 of file exception.hpp.

const char* ASql::Error::msg

Pointer to string data explaining error.

Definition at line 12 of file exception.hpp.

Referenced by what().


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