Re: Client library - Exception handling?

2001-02-08 Thread Chris Hundley
Are you suggesting that I look at the mysql++ code as an example, or actually use the mysql++ code instead of the "mysql.h" included libraries? Chris Sinisa Milivojevic wrote: Chris Hundley writes: Can I implement some sort of exception handling when using the mySQL client li

Client library - Exception handling?

2001-02-07 Thread Chris Hundley
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