[weld-dev] Do interceptor methods need to declare an Exception to be thrown?
Pete Muir
pmuir at redhat.com
Wed Dec 2 06:16:32 EST 2009
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
More information about the weld-dev
mailing list