|
libcommonc++
0.7
|
An exception indicating a SQL database error. More...
#include <SQLException.h++>


Public Member Functions | |
| SQLException (String message=String::empty, String sql=String::null) | |
| Construct a new SQLException with an optional cause message. More... | |
| virtual | ~SQLException () throw () |
| void | write (std::ostream &stream) const |
| Write a textual representation of the exception to a stream. More... | |
| String | getSQL () const |
| Get the SQL statement associated with this exception. More... | |
| String | getMessage () const |
| Get the message associated with the exception. More... | |
| virtual const char * | what () const throw () |
| Get the message associated with the exception. More... | |
| String | toString () const |
| Get a textual representation of the exception as a String. More... | |
Protected Attributes | |
| String | _message |
| The cause message. More... | |
| CString | _what |
An exception indicating a SQL database error.
| SQLException | ( | String | message = String::empty, |
| String | sql = String::null |
||
| ) |
Construct a new SQLException with an optional cause message.
|
virtual | |||||||||||||
|
inlineinherited |
Get the message associated with the exception.
|
inline |
Get the SQL statement associated with this exception.
|
inlineinherited |
Get a textual representation of the exception as a String.
|
virtualinherited | |||||||||||||
Get the message associated with the exception.
|
inlinevirtual |
Write a textual representation of the exception to a stream.
Reimplemented from IOException.
|
protectedinherited |
The cause message.
|
mutableprotectedinherited |