Solved

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

Posted on 2002-06-30
5
148 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
custom annotations 9 42
nextBoolean(double p) for Random class 3 41
more than one jdk and one jre 1 50
Java 8 to Java 6 8 19
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

791 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