My Project
SallyAPI::Database::CSQLException Class Reference

Exception for signalling csql errors. More...

#include <SQLException.h>

List of all members.

Public Member Functions

 CSQLException (int code)
 CSQLException (const std::string &msg)
 Constructor.
 ~CSQLException ()
 Destructor.
int GetCode ()
 Gets the code.
std::string GetMessage ()
 Gets the message.
const char * what () const throw ()
 Whats this object.

Detailed Description

Exception for signalling csql errors.

Author:
Christian Knobloch
Date:
19.04.2010

Constructor & Destructor Documentation

CSQLException::CSQLException ( const std::string &  msg)

Constructor.

Author:
Christian Knobloch
Date:
19.04.2010
Parameters:
msgThe message.

Destructor.

Author:
Christian Knobloch
Date:
19.04.2010

Member Function Documentation

Gets the code.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The code.
std::string CSQLException::GetMessage ( )

Gets the message.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
The message.
const char * CSQLException::what ( ) const throw ()

Whats this object.

Author:
Christian Knobloch
Date:
19.04.2010
Returns:
null if it fails, else.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines