Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 63570 invoked from network); 24 Mar 2007 15:55:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Mar 2007 15:55:06 -0000 Received: (qmail 87169 invoked by uid 500); 24 Mar 2007 15:55:02 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 86798 invoked by uid 500); 24 Mar 2007 15:55: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 86787 invoked by uid 99); 24 Mar 2007 15:55:01 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 24 Mar 2007 08:55: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; Sat, 24 Mar 2007 08:54:52 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 271CD71403D for ; Sat, 24 Mar 2007 08:54:32 -0700 (PDT) Message-ID: <29392622.1174751672144.JavaMail.jira@brutus> Date: Sat, 24 Mar 2007 08:54:32 -0700 (PDT) From: "Craig Russell (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Commented: (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:comment-tabpanel#action_12483850 ] Craig Russell commented on OPENJPA-176: --------------------------------------- I like it. What if the type is not one of the expected types? Perhaps we want to identify this case? Such as "unexpected error" or something. > 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 > Assigned To: 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.