Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 69548 invoked from network); 30 Jun 2002 19:11:49 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by 209.66.108.5 with SMTP; 30 Jun 2002 19:11:49 -0000 Received: (qmail 13454 invoked by uid 97); 30 Jun 2002 19:12:00 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@jakarta.apache.org Received: (qmail 13438 invoked by uid 97); 30 Jun 2002 19:12:00 -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 13426 invoked by uid 98); 30 Jun 2002 19:11:59 -0000 X-Antivirus: nagoya (v4198 created Apr 24 2002) Date: Sun, 30 Jun 2002 15:11:46 -0400 (EDT) From: Henri Yandell X-X-Sender: 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 In-Reply-To: <000601c2203d$03768cb0$6e00a8c0@YellowJacket> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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. 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? 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: > For additional commands, e-mail: > > -- To unsubscribe, e-mail: For additional commands, e-mail: