Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ED89218051 for ; Thu, 6 Aug 2015 13:35:04 +0000 (UTC) Received: (qmail 91980 invoked by uid 500); 6 Aug 2015 13:35:04 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 91958 invoked by uid 500); 6 Aug 2015 13:35:04 -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 91939 invoked by uid 99); 6 Aug 2015 13:35:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 06 Aug 2015 13:35:04 +0000 Date: Thu, 6 Aug 2015 13:35:04 +0000 (UTC) From: "Bryan Pendleton (JIRA)" To: derby-dev@db.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (DERBY-6803) Change Sqlca and SqlException in NetworkClient to call MessageUtils MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-6803?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Bryan Pendleton updated DERBY-6803: ----------------------------------- Attachment: clientChanges.diff Attached clientChanges.diff represents the current code we've been testing. I also adjusted the Javadoc tag in Sqlca.java to address the Javadoc complaint following yesterday's commit for DERBY-6802. Note that we won't want to resolve this JIRA Issue until we've more full addressed the sqlerrmc delimiter redundancy exposed by that Javadoc complaint. > Change Sqlca and SqlException in NetworkClient to call MessageUtils > ------------------------------------------------------------------- > > Key: DERBY-6803 > URL: https://issues.apache.org/jira/browse/DERBY-6803 > Project: Derby > Issue Type: Sub-task > Components: JDBC, Network Client, Network Server > Reporter: Bryan Pendleton > Assignee: Abhinav Gupta > Priority: Minor > Attachments: MessageUtils_1.diff, MessageUtils_2.diff, clientChanges.diff, clientOutline.diff > > > Currently, the network client code is not able to access the arguments > that are associated with a Derby exception that is returned by the engine. > We would like to change the network client code, specifically the code > in the Sqlca and SqlException classes, so that it uses the new MessageUtils > class to access the exception arguments. > We wish to take the exception arguments and associate them with the > SqlException object, so that when the client calls the SQLExceptionFactory > to create a SQLException to throw to the user application, it can create > a Derby-specific subclass of that exception, when appropriate, which > contains the arguments that the server sent to the client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)