From: Warren Young Date: December 22 2010 4:43am Subject: Re: Exception Handling. List-Archive: http://lists.mysql.com/plusplus/9142 Message-Id: <39E6A960-F333-47AA-B985-4EB073A7F38C@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On Dec 21, 2010, at 7:29 PM, Eric Sepich wrote: > First off I saw an example outlining how to use: Where? > mysqlpp::Connection conn(use_exceptions); use_exceptions is in the mysqlpp namespace, like all other MySQL++ = symbols. So, that should be=20 mysqlpp::Connection conn(mysqlpp::use_exceptions); or: use namespace mysqlpp; Connection conn(use_exceptions); Both of these are more work than necessary, though, because exceptions = are the default. This is the same as both of the above: mysqlpp::Connection conn; =20 > There really is no good example I can find > describing the how of exception handling in mysql++. $ grep catch.*BadQuery examples/*.cpp | wc -l 19