SQL exception
hi,
when doing a DB operation, the database might throw an exception. like if we try to insert another record with an already existing primary key. is it possible to get this error message and pass it on to the java program ?
for example,
insertRow( ) throws an SQL exception if a database access error occurs, if this method is called when the cursor is not on the insert row, or if not all of non-nullable columns
in the insert row have been given a value.
but the DataBase might throw an exception for various other reasons - like the one i mentioned. Is there a way to catch those exceptions ?
thanks in advance
regards
anagha.

