SQLException Class Reference

SQL exception class. More...

Inheritance diagram for SQLException:

Inheritance graph
Collaboration diagram for SQLException:

Collaboration graph

List of all members.

Public Member Functions

 SQLException ()
 Creates a new instance.
 SQLException (const std::string &mess)
 Creates a new instance.
 SQLException (const sparksee_core::SQLError *core_error)
 Creates a new instance.
virtual ~SQLException ()
const std::string & Message () const
 Gets the message of the exception.
void SetMessage (const std::string &mess)
 Sets the message of the exception.

Protected Attributes

std::string message
 Message of the exception.

Detailed Description

SQL exception class.

Sparsity Technologies http://www.sparsity-technologies.com

Constructor & Destructor Documentation

SQLException::SQLException ( const std::string &  mess  ) 

Creates a new instance.

mess [in] Message of the exception.

SQLException::SQLException ( const sparksee_core::SQLError *  core_error  ) 

Creates a new instance.

core_error [in] Sparkseecore SQLError.

Member Function Documentation

const std::string& Exception::Message (  )  const [inherited]

Gets the message of the exception.

It should be called GetMessage but this is not possible because of a macro defined in Windows.

The message of the exception.

void Exception::SetMessage ( const std::string &  mess  )  [inherited]

Sets the message of the exception.

mess [in] Message.

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

Generated on Fri Feb 7 13:10:06 2014 for Sparksee by  doxygen 1.5.6