#include <noexceptions.h>
Inheritance diagram for mysqlpp::OptionalExceptions:

Public Methods | |
| OptionalExceptions (bool e=true) | |
| Default constructor. | |
| virtual | ~OptionalExceptions () |
| Destroy object. | |
| void | enable_exceptions () |
| Enable exceptions from the object. | |
| void | disable_exceptions () |
| Disable exceptions from the object. | |
| bool | throw_exceptions () const |
| Returns true if exceptions are enabled. | |
Protected Methods | |
| void | set_exceptions (bool e) |
| Sets the exception state to a particular value. | |
Friends | |
| class | NoExceptions |
| Declare NoExceptions to be our friend so it can access our protected functions. | |
A class derives from this one to acquire a standard interface for disabling exceptions, possibly only temporarily. By default, exceptions are enabled.
|
|
Default constructor.
|
|
|
Sets the exception state to a particular value. This method is protected because it is only intended for use by subclasses' copy constructors and the like. |
1.2.18