[weld-dev] Do interceptor methods need to declare an Exception to be thrown?
Mark Struberg
struberg at yahoo.de
Wed Dec 2 06:03:11 EST 2009
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
More information about the weld-dev
mailing list