From open-jpa-dev-return-2834-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Sat Mar 24 04:11:55 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 7383 invoked from network); 24 Mar 2007 04:11:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2007 04:11:53 -0000 Received: (qmail 89199 invoked by uid 500); 24 Mar 2007 04:12:01 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 89168 invoked by uid 500); 24 Mar 2007 04:12:01 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 89154 invoked by uid 99); 24 Mar 2007 04:12:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 21:12:01 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 23 Mar 2007 21:11:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 277E6714046 for ; Fri, 23 Mar 2007 21:11:32 -0700 (PDT) Message-ID: <20079930.1174709492151.JavaMail.jira@brutus> Date: Fri, 23 Mar 2007 21:11:32 -0700 (PDT) From: "Marc Prud'hommeaux (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Updated: (OPENJPA-176) Exception prefixes should be human-readable In-Reply-To: <20340630.1174436192166.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 [ https://issues.apache.org/jira/browse/OPENJPA-176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Marc Prud'hommeaux updated OPENJPA-176: --------------------------------------- Attachment: OPENJPA-176.patch The attached patch will change the prefix to look like, for example: "<0.9.6-incubating fatal user error> org.apache.openjpa.persistence.PersistenceException". Any objections? > Exception prefixes should be human-readable > ------------------------------------------- > > Key: OPENJPA-176 > URL: https://issues.apache.org/jira/browse/OPENJPA-176 > Project: OpenJPA > Issue Type: Improvement > Components: diagnostics > Affects Versions: 0.9.0, 0.9.6 > Reporter: Marc Prud'hommeaux > Priority: Trivial > Attachments: OPENJPA-176.patch > > > OpenJPA prefixes all exception messages with a string of the form "", restulting in strings like "<4|false|0.9.6-incubating> org.apache.openjpa.persistence.PersistenceException". This isn't very useful to the casual observer, since no translation of the meaning of the fields is done. > it would be nice if we translated the fatal and type parameters, so that the string looked like "". -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.