[jboss-user] [JBoss AOP] - Re: Standalone after-throwing sample works fine, but not wor

ienvyou do-not-reply at jboss.com
Mon Apr 6 01:24:04 EDT 2009


Oh~ I missed some exeption message :
14:14:50,188 INFO  [STDOUT] Catching Exception org.jboss.aop.advice.NoMatchingAdviceException: No matching around advice called 'afterThrowing' could be found in Aspect for joinpoint Method[method=public void jboss.POJO.throwPOJOExceptionMethod(java.lang.String) throws POJOException]	
  |   On method 'public void jboss.Aspect.afterThrowing(java.lang.Throwable)'
  |     parameter 0' is not annotated correctly. Expecting one of:
  |           @Args
  |           @Arg

View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4223537#4223537

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4223537



More information about the jboss-user mailing list