Download MySQL++ v3.2.2 User Manual

Transcript
MySQL++ v3.2.2 User Manual
2.4. Exceptions
By default, the library throws exceptions whenever it encounters an error. You can ask the library to set an error
flag instead, if you like, but the exceptions carry more information. Not only do they include a string member telling
you why the exception was thrown, there are several exception types, so you can distinguish between different error
types within a single try block.
7