This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

I think the direct answer is no to the return type but yes to throwing a new type of exception.
In AspectJAfterThrowingAdvice in the invoke method in the catch block, anything returned is ignored and the original exception is rethrown.

Comment

Use Around advice. In your advice code, wrap the pjp.proceed() call inside a try catch block, catching the type of exception that you expect. In the catch block, do logging stuff and then return what you want to return in case of exception.