Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 79613 invoked from network); 30 Jun 2002 19:41:29 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 30 Jun 2002 19:41:29 -0000 Received: (qmail 20952 invoked by uid 97); 30 Jun 2002 19:41:41 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 20883 invoked by uid 97); 30 Jun 2002 19:41:40 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 20867 invoked by uid 98); 30 Jun 2002 19:41:40 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Reply-To: From: "Steven Caswell" To: "'Jakarta Commons Developers List'" Subject: RE: [lang] patch to Nestable interface, exception implementation classes, and test cases to get message specific to the nestable Date: Sun, 30 Jun 2002 15:40:34 -0400 Message-ID: <000001c2206e$01994af0$6e00a8c0@YellowJacket> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.2627 Importance: Normal In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N X-Spam-Rating: 209.66.108.5 1.6.2 0/1000/N Comments inline... Steven Caswell steven@caswell.name a.k.a Mungo Knotwise of Michel Delving "One ring to rule them all, one ring to find them..." > -----Original Message----- > From: Henri Yandell [mailto:bayard@generationjava.com] > Sent: Sunday, June 30, 2002 2:12 PM > To: Jakarta Commons Developers List; steven@caswell.name > Subject: RE: [lang] patch to Nestable interface, exception > implementation classes, and test cases to get message > specific to the nestable > > > > None seem perfect,but I can't think of anything better than > getBaseMessage. > > I may be misunderstanding, but getBaseMessage returns the > message at the top level of the Exception, ie) the most > recent message. Correct > > Should we also have: > > getNestedMessage() which returns the Exception at the next > level down, and > getDeepNestedMessage() which returns the Exception at the > bottom, assuming all Exceptions in the chain implement Nestable? I hadn't really though about getting those, but they would be easy to do. I don't know that I like using "Nested" in the names. How about getNextMessage() which returns the Exception at the next level down getLastMessage() which returns the Exception at the bottom Using that thought process, how about getFirstMessage() instead of getBaseMessage() > > Hen > > On Sun, 30 Jun 2002, Steven Caswell wrote: > > > I don't really like getOriginalMessage because it implies something > > has changed. I think getBaseMessage does a good job of > indicating the > > method's purpose. If folks agree on getBaseMessage I'll make the > > change and resubmit the patch. > > > > > > Steven Caswell > > steven@caswell.name > > a.k.a Mungo Knotwise of Michel Delving > > "One ring to rule them all, one ring to find them..." > > > > > > > -----Original Message----- > > > From: Stephen Colebourne [mailto:scolebourne@btopenworld.com] > > > Sent: Sunday, June 30, 2002 6:59 AM > > > To: Jakarta Commons Developers List > > > Subject: Re: [lang] patch to Nestable interface, exception > > > implementation classes, and test cases to get message specific to > > > the nestable > > > > > > > > > > I'm aiming to apply it when I next get time to work on > > > Apache, [end of > > > > the month = submission deadline for me]. Everyone happy with > > > > 'getThisMessage' as the method name? > > > > > > I would prefer something like getOriginalMessage, or > getBaseMessage > > > > > > Stephen > > > > > > > > > -- > > > To unsubscribe, e-mail: > > > unsubscribe@jakarta.apache.org> > > > For > > > additional commands, > > > e-mail: > > > > > > > > > > > > > > -- > > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > > For > additional commands, > e-mail: > > > > > > > > > > > -- > To unsubscribe, e-mail: > unsubscribe@jakarta.apache.org> > For > additional commands, > e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: