[weld-dev] Do interceptor methods need to declare an Exception to be thrown?

Mark Struberg struberg at yahoo.de
Wed Dec 2 06:25:52 EST 2009


txs Pete!

We should also fix the example in the Spec 9.2 (and maybe others).

LieGrue,
strub

--- Pete Muir <pmuir at redhat.com> schrieb am Mi, 2.12.2009:

> Von: Pete Muir <pmuir at redhat.com>
> Betreff: Re: [weld-dev] Do interceptor methods need to declare an Exception to be thrown?
> An: "Mark Struberg" <struberg at yahoo.de>
> CC: weld-dev at lists.jboss.org
> Datum: Mittwoch, 2. Dezember 2009, 12:16
> Correct, please file a CDITCK issue!
> 
> On 2 Dec 2009, at 11:03, Mark Struberg wrote:
> 
> > Hi!
> > 
> > Somewhere in the back of my brain, I remember that 
> > 
> > @AroundInvoke
> > public void dingsBums(InvocationContext ivc) throws
> Exception;
> > 
> > MUST declare the 'throws Exception', otherwise it's
> illegal.
> > 
> > Am I right, or is my brain tricking me?
> > 
> > If the Exception is mandatory, the TCK needs to be
> changed:
> >
> org.jboss.jsr299.tck.tests.context.passivating.KokkolaInterceptor
> 
> > (and maybe others)
> > 
> > txs and LieGrue,
> > strub
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Sie sind Spam leid? Yahoo! Mail verfügt über einen
> herausragenden Schutz gegen Massenmails. 
> > http://mail.yahoo.com 
> > 
> > _______________________________________________
> > weld-dev mailing list
> > weld-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/weld-dev
> 
> 

__________________________________________________
Do You Yahoo!?
Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. 
http://mail.yahoo.com 



More information about the weld-dev mailing list