Re: Client library - Exception handling?

2001-02-09 Thread Sinisa Milivojevic
Chris Hundley writes: 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 HI! You can not look at mysql++ code and code like that with C API. You should either use C API (therefore no

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 library? I'm

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