hi,
inside my code i would like to intercept an exception an replace it with a
return value? so my aspect is kind of a mediator which translates an
exception to a proper return value.
is this possible with aspectj?
something like:
@AfterThrowing(pointcut="call(@InterceptHandling *
aMethodCall(..))",throwing="exception")
public void replaceExceptionWithReturnValue(JoinPoint jp,Throwable
exception){
//handle exception
//create value and pass it as return value to method-callers
}
thanks for help.
--
manuel aldana
[EMAIL PROTECTED]
homepage: www.aldana-online.de
_______________________________________________
aspectj-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/aspectj-users