|Exception handling AspectJ [message #25287]
||Tue, 26 August 2003 07:47
Originally posted by: kobi_willy.yahoo.de|
i just got a problem while i was trying to implement AspectJ Exception
handling. I have the following code that shall intercept the normal
pointcut changePriceExc(): handler(NegativePriceException);
void around(): changePriceExc()
System.out.println("ASPECT: Exception Handler");
I am getting the Compiler Error:
"Only before advice is supported on handler join points"
My question now is, if there s a compiler version, that still allows this
kind of handler interception, or if anyone has a workaround to intercept
handlers in the way i want to in the code above?
I only had the idea to delete the catch construct in the application code
and work with the before advice. But thats not really acceptable.
Thanks so far
Powered by FUDForum
. Page generated in 0.01700 seconds