System errors for sql exception.....urgent please......

I need the system errors that will be thown by the sql exception. List of exceptions, like connection failed....

Urgent please.......
woodmouse347Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
CEHJConnect With a Mentor Commented:
You need to look at the documentation for your particular RDBMS as the SQLException wraps errors thrown by the database. Look at the possible errors that can be thrown.
0
 
woodmouse347Author Commented:
I am using MySQL Server. Will I get the documentation on the ner?
0
 
CEHJCommented:
Yes. Have a look at http://www.bitbybit.dk/mysqlfaq/addnote.html?ch=ch15_0_0
You could go through them and incorporate them into your programme this way. Alternatively, try and locate a C API header file with the system error codes in it.
0
 
girionisCommented:
No comment has been added lately, so it's time to clean up this TA.

I will leave a recommendation in the Cleanup topic area that this question is:

- points to CEHJ

Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

girionis
Cleanup Volunteer
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.