Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 72848 invoked from network); 16 Apr 2004 14:58:57 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 16 Apr 2004 14:58:57 -0000 Received: (qmail 85680 invoked by uid 500); 16 Apr 2004 14:58:41 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 85642 invoked by uid 500); 16 Apr 2004 14:58:40 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 85603 invoked from network); 16 Apr 2004 14:58:40 -0000 Received: from unknown (HELO host.leverageweb.com) (64.91.254.192) by daedalus.apache.org with SMTP; 16 Apr 2004 14:58:40 -0000 Received: from 69-170-16-247.chvlva.adelphia.net ([69.170.16.247] helo=leverageweb.com) by host.leverageweb.com with esmtp (Exim 4.24) id 1BEVA5-00078M-Mh for dev@cocoon.apache.org; Fri, 16 Apr 2004 11:21:50 -0400 Message-ID: <407FF5E6.70308@leverageweb.com> Date: Fri, 16 Apr 2004 11:04:06 -0400 From: Geoff Howard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en MIME-Version: 1.0 To: dev@cocoon.apache.org Subject: Re: [VOTE] Make ProcessingException extend CascadingRuntimeException References: <407FD9E1.4050904@leverageweb.com> <407FE74A.1050302@cbim.it> In-Reply-To: <407FE74A.1050302@cbim.it> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.leverageweb.com X-AntiAbuse: Original Domain - cocoon.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - leverageweb.com X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Ugo Cei wrote: > Geoff Howard wrote: > >> If the end-result of this is users seeing more stacktraces, or plain >> 404 or 500 errors, I go -1. > > Users should see *shorter* and more meaningful stacktraces. No, that was my point. Developers should see shorter more meaningful stacktraces. Users should never see a stack trace in my opinion. I know this is a semantic difference between "users" of the cocoon framework, and users of the applications they build. I thought what you are proposing is not in conflict with this, but I didn't have time to figure that out myself, hence my comment. >> If the end result is developers can still "catch" errors in the >> sitemap and display custom "oops" pages instead (as currently) then I >> go to +0. > > There is no plan to remove "catch" clauses from the sitemap processor, > so the usual should still work as usual. There you go. Sorry you had to spell it out explicitly. >> If, however, this means backwards incompatibility or behavior change >> with existing components (external too, not only in our cvs) then I go >> back to -1 no matter what. > > Removing a checked exception from the "throws" clause of a method > declaration is a backward-compatible change. > > However, if we later on decide that this was not a good idea after all, > readding a checked exception is backward-incompatible. This would only > affect people who wrote code, calling this method without a try-catch > block, in the interval between the two changes. I think that this is > quite improbable and easily caught. > > Hope this clears your doubts. I think this is probably OK risk. I'm on +0 now. Geoff