Chris Hundley writes:
 > Can I implement some sort of exception handling when using the mySQL
 > client library? I'm running an application and when I issue a query with
 > an error in it, I catch the error and print output, but the software
 > throws a general exception. Should this code be in a
 > try
 > {
 > 
 > }
 > catch
 > {}
 > 
 > routine? If so, what type of exception should I be catching? Sorry if
 > this is a stupid question, I'm newer to C++.
 > 
 > Chris
 > 
 > 


Hi!

This feature is fully supported in our C++ API, MySQL++, which even
has two different optional ways in catching the errors, as explained
in it's manual.


Regards,

Sinisa

      ____  __     _____   _____  ___     ==  MySQL AB
     /*/\*\/\*\   /*/ \*\ /*/ \*\ |*|     Sinisa Milivojevic
    /*/ /*/ /*/   \*\_   |*|   |*||*|     mailto:[EMAIL PROTECTED]
   /*/ /*/ /*/\*\/*/  \*\|*|   |*||*|     Larnaka, Cyprus
  /*/     /*/  /*/\*\_/*/ \*\_/*/ |*|____
  ^^^^^^^^^^^^/*/^^^^^^^^^^^\*\^^^^^^^^^^^
             /*/             \*\                Developers Team

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to