Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AspectJ » Exception handling AspectJ
Exception handling AspectJ [message #570640] Tue, 26 August 2003 07:47
Eclipse UserFriend
Originally posted by: kobi_willy.yahoo.de

Hi

i just got a problem while i was trying to implement AspectJ Exception
handling. I have the following code that shall intercept the normal
try-catch implementation.

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
Previous Topic:Exception handling AspectJ
Next Topic:1.1.4rc1 and links question
Goto Forum:
  


Current Time: Tue Mar 19 08:37:34 GMT 2024

Powered by FUDForum. Page generated in 0.01979 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top