Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 58686 invoked from network); 17 Apr 2006 19:56:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Apr 2006 19:56:21 -0000 Received: (qmail 34480 invoked by uid 500); 17 Apr 2006 19:56:20 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 34446 invoked by uid 500); 17 Apr 2006 19:56:20 -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 34426 invoked by uid 99); 17 Apr 2006 19:56:20 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Apr 2006 12:56:20 -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; Mon, 17 Apr 2006 12:56:19 -0700 Received: from brutus (localhost.localdomain [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A15117142C4 for ; Mon, 17 Apr 2006 19:55:21 +0000 (GMT) Message-ID: <14757254.1145303721587.JavaMail.jira@brutus> Date: Mon, 17 Apr 2006 19:55:21 +0000 (GMT+00:00) From: "Rick Hillegas (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-842) Internationalize messages in PreparedStatement to Section in org.apache.derby.client.am In-Reply-To: <1175550010.1137778062439.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-842?page=comments#action_12374801 ] Rick Hillegas commented on DERBY-842: ------------------------------------- If you wanted to be fancy: checkForClosedResultSet() could use Throwable.getStackTrace() to look at the stack above it and find the first method name which appears in the public api for ResultSet. That name could then be included in the error message. As a practical matter, I don't see much value to the "Operation {0} not permitted" clause. The application code knows which ResultSet method it just called. > Internationalize messages in PreparedStatement to Section in org.apache.derby.client.am > --------------------------------------------------------------------------------------- > > Key: DERBY-842 > URL: http://issues.apache.org/jira/browse/DERBY-842 > Project: Derby > Type: Sub-task > Components: Network Client > Reporter: David Van Couvering > Assignee: David Van Couvering > -- 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