MySQLaux 0.6 is free software from Langensoft written by Thomas Langen.

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

MySQLaux::Error Class Reference

Error as result of a MySQLaux operation. More...

#include <Error.h>

Inheritance diagram for MySQLaux::Error

Inheritance graph
[legend]
List of all members.

Public Methods

 Error (unsigned int errno, char *error)
 Constructor. More...

unsigned int errno () const
 Number of most recent error. More...

string const error () const
 Desciption of most recent error. More...

string asString () const throw ()
 Get description of exception as string. More...


Protected Attributes

unsigned int _errno
string _error

Detailed Description

Error as result of a MySQLaux operation.

Definition at line 35 of file Error.h.


Constructor & Destructor Documentation

MySQLaux::Error::Error ( unsigned int errno,
char * error ) [inline]
 

Constructor.

Parameters:
error   errno MySQLaux error number
error   error MySQLaux error string

Definition at line 48 of file Error.h.

00050         : _errno (errno),
00051           _error (error)
00052     {
00053 


Member Function Documentation

string MySQLaux::Error::asString ( ) const throw () [inline, virtual]
 

Get description of exception as string.

Reimplemented from MySQLaux::Exception.

Definition at line 61 of file Error.h.

00061                                            { return _error; }
00062 

unsigned int MySQLaux::Error::errno ( ) const [inline]
 

Number of most recent error.

Definition at line 55 of file Error.h.

00055                                         { return _errno; }
00056 

string const MySQLaux::Error::error ( ) const [inline]
 

Desciption of most recent error.

Definition at line 57 of file Error.h.

00057                                       { return _error; }
00058 


Member Data Documentation

unsigned int MySQLaux::Error::_errno [protected]
 

Definition at line 40 of file Error.h.

string MySQLaux::Error::_error [protected]
 

Definition at line 41 of file Error.h.


The documentation for this class was generated from the following file:
Generated at Fri Apr 6 11:20:13 2001 for MySQLaux by doxygen1.2.5 written by Dimitri van Heesch, © 1997-2001