Re: Exception Subtypes
Posted by: Todd Farmer
Date: November 06, 2013 09:40AM

Hi Steve,

It looks as though this particular Exception is one which is not explicitly mapped to JDBC4 subclasses (it should be SQLNonTransientException, at least based on the class hierarchy of the JDBC3 class, but I'll check on the logic there). I filed the following bug report:


http://bugs.mysql.com/bug.php?id=70835

If you're interested, the SQLError.createSQLException() method is our standard factory method for creation of SQLExceptions, and is a good reference point for how such Exceptions are filtered into appropriate subclasses based on SQLState.

Thanks for bringing this to our attention!

Best regards,

--
Todd Farmer
MySQL @ Oracle
http://www.oracle.com/mysql/

Options: ReplyQuote


Subject
Written By
Posted
November 05, 2013 03:38PM
November 05, 2013 04:13PM
November 05, 2013 05:51PM
Re: Exception Subtypes
November 06, 2013 09:40AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.