Solved

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

Posted on 2002-06-30
5
149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

By the end of 1980s, object oriented programming using languages like C++, Simula69 and ObjectPascal gained momentum. It looked like programmers finally found the perfect language. C++ successfully combined the object oriented principles of Simula w…
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…
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
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.

749 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