Return-Path: Delivered-To: apmail-jakarta-avalon-dev-archive@jakarta.apache.org Received: (qmail 55876 invoked by uid 500); 12 Apr 2001 13:37:37 -0000 Mailing-List: contact avalon-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Avalon Development" Delivered-To: mailing list avalon-dev@jakarta.apache.org Received: (qmail 55851 invoked from network); 12 Apr 2001 13:37:36 -0000 Message-ID: <3AD5AF30.634E130A@apache.org> Date: Thu, 12 Apr 2001 09:35:44 -0400 From: Berin Loritsch X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Avalon Development Subject: Re: [vote] lifecycle exceptions References: <003c01c0c353$2f29bbe0$0a01a8c0@osm.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Stephen McConnell wrote: > > Berin Loritsch [mailto:bloritsch@apache.org] > > Sent: Thursday, 12 April, 2001 15:11 > > To: Avalon Development > > Subject: Re: [vote] lifecycle exceptions > > > > > > Peter Donald wrote: > > > > > >|-- ContextException <-- ContextualizationException // new; > > > >have both or > > > >have one...which one? > > > > > > What Berin said > > > > > > ContextException if Context.get() raises it else > > ContextualizationException > > > > What is the source of the error? Is it that the Context fails while > > attempting to retrieve an object, or is it that the Component can't find > > an object it is looking for? > > > > If it is the previous: ContextException > > If it is the latter: ContextualizationException > > My understanding is that this is an exception raised as a result of > executing or attempting to execute the contextualization phase and that > ContextualizationException can be raised in event of things like (a) > insufficient context information, (b) conflicting context information, (c) > internal problems established by an implementation when dealing with > supplied context information. As such this should be named > ContextualizationException and not ContextException. Cool. Gotcha. This is good stuff, and should make it in the Javadocs for the class. Now I know where you are coming from. --------------------------------------------------------------------- To unsubscribe, e-mail: avalon-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: avalon-dev-help@jakarta.apache.org