Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 30841 invoked from network); 2 Aug 2006 05:36:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Aug 2006 05:36:07 -0000 Received: (qmail 15349 invoked by uid 500); 2 Aug 2006 05:35:52 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 15318 invoked by uid 500); 2 Aug 2006 05:35:52 -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: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 15295 invoked by uid 99); 2 Aug 2006 05:35:52 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 22:35:52 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [209.237.227.198] (HELO brutus.apache.org) (209.237.227.198) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 01 Aug 2006 22:35:51 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 0D00B410029 for ; Wed, 2 Aug 2006 05:33:19 +0000 (GMT) Message-ID: <8811664.1154496799051.JavaMail.jira@brutus> Date: Tue, 1 Aug 2006 22:33:19 -0700 (PDT) From: "Andrew McIntyre (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1630) NetConnection40 references an engine class, org.apache.derby.impl.jdbc.Util In-Reply-To: <6168402.1154483714547.JavaMail.jira@brutus> 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-1630?page=comments#action_12425135 ] Andrew McIntyre commented on DERBY-1630: ---------------------------------------- s/three Object methods/three Objects/ :-) > NetConnection40 references an engine class, org.apache.derby.impl.jdbc.Util > --------------------------------------------------------------------------- > > Key: DERBY-1630 > URL: http://issues.apache.org/jira/browse/DERBY-1630 > Project: Derby > Issue Type: Bug > Components: Network Client > Affects Versions: 10.2.0.0 > Reporter: Andrew McIntyre > Assigned To: Andrew McIntyre > Priority: Critical > Fix For: 10.2.0.0 > > Attachments: derby-1630-v1.diff, derby-1630-v2.diff > > > NetConnection40.java contains this: > ... > import org.apache.derby.impl.jdbc.Util; > ... > public boolean isValid(int timeout) throws SQLException { > // Validate that the timeout has a legal value > if (timeout < 0) { > throw Util.generateCsSQLException(SQLState.INVALID_API_PARAMETER, > new Integer(timeout), "timeout", > "java.sql.Connection.isValid"); > } > ... > This was added as part of DERBY-1090. This should be changed to use the client's method of throwing exceptions. -- 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