From dev-return-20788-apmail-jackrabbit-dev-archive=jackrabbit.apache.org@jackrabbit.apache.org Wed Nov 05 14:40:06 2008 Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 3784 invoked from network); 5 Nov 2008 14:40:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 5 Nov 2008 14:40:05 -0000 Received: (qmail 42195 invoked by uid 500); 5 Nov 2008 14:40:11 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 42159 invoked by uid 500); 5 Nov 2008 14:40:11 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 42148 invoked by uid 99); 5 Nov 2008 14:40:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 06:40:11 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Nov 2008 14:39:02 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 42CD3234C279 for ; Wed, 5 Nov 2008 06:39:44 -0800 (PST) Message-ID: <1262210204.1225895984242.JavaMail.jira@brutus> Date: Wed, 5 Nov 2008 06:39:44 -0800 (PST) From: "Alexander Klimetschek (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1847) Path methods should throw a specific exception instead of RepositoryEx In-Reply-To: <164666118.1225891424180.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/JCR-1847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12645229#action_12645229 ] Alexander Klimetschek commented on JCR-1847: -------------------------------------------- AFAIK it does not have to inherit RepositoryException in any way. I don't like too much exceptions either; isn't there a generic (java sdk) exception for a "malformed path/url" problem? > Path methods should throw a specific exception instead of RepositoryEx > ---------------------------------------------------------------------- > > Key: JCR-1847 > URL: https://issues.apache.org/jira/browse/JCR-1847 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-spi > Reporter: Alexander Klimetschek > Priority: Minor > > The o.a.j.spi.Path interface declares most methods to throw a RepositoryEx, whereas a o.a.j.spi.commons.conversion.NameEx (or another specific exception) would make more sense, since the RepositoryEx is too generic for what seems to be a "malformed names/path" nature for all things that happen in a Path implementation. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.