Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 20015 invoked from network); 29 Jun 2005 21:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Jun 2005 21:37:04 -0000 Received: (qmail 51502 invoked by uid 500); 29 Jun 2005 21:37:01 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 51466 invoked by uid 500); 29 Jun 2005 21:37:01 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Development" Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 51453 invoked by uid 99); 29 Jun 2005 21:37:01 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Jun 2005 14:37:00 -0700 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id F3D1713 for ; Wed, 29 Jun 2005 23:36:57 +0200 (CEST) Message-ID: <1578306149.1120081017996.JavaMail.jira@ajax.apache.org> Date: Wed, 29 Jun 2005 23:36:57 +0200 (CEST) From: "Daniel John Debrunner (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-401) Add SQLException subclasses and throw them correctly to match JDBC 4 spec In-Reply-To: <973715512.1119999299777.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DERBY-401?page=comments#action_12314706 ] Daniel John Debrunner commented on DERBY-401: --------------------------------------------- I agree, though I assume the description is the correct action, and not the Summary. I don't think derby needs to have its own sub-classes of SQLException, just use those in JDBC 4.0 (when available). I don't think Derby requires the LocalSQLException at the moment, it should be removed and the code use SQLExceptions rather than a Derby specific sub-class. > Add SQLException subclasses and throw them correctly to match JDBC 4 spec > ------------------------------------------------------------------------- > > Key: DERBY-401 > URL: http://issues.apache.org/jira/browse/DERBY-401 > Project: Derby > Type: Improvement > Components: JDBC > Versions: 10.1.1.0 > Reporter: David Van Couvering > Priority: Minor > > JDBC4 defines subclasses of SQLException. Derby code should be upgraded to use these subclasses and throw them correctly based on the spec. I recommend we can start work on this even prior to JDBC 4 spec being finalized. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira