Solved

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

Posted on 2002-06-30
5
144 Views
Last Modified: 2010-03-31
I need the system errors that will be thown by the sql exception. List of exceptions, like connection failed....

Urgent please.......
0
Comment
Question by:woodmouse347
  • 2
5 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 25 total points
ID: 7121371
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
 

Author Comment

by:woodmouse347
ID: 7123904
I am using MySQL Server. Will I get the documentation on the ner?
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 7128588
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
 
LVL 35

Expert Comment

by:girionis
ID: 8893578
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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This video teaches viewers about errors in exception handling.

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now