Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Generics - Exception
Generics - Exception [message #599603] Wed, 28 January 2009 14:49
Hitalo is currently offline HitaloFriend
Messages: 4
Registered: July 2009
Junior Member
Good morning!

I wonder if this is possible?
And if you have any way of doing?
Use "Generics" for exception and the "catch" exception get past ...

public abstract privileged aspect AbstractAspect<C extends Exception> {

abstract pointcut point();

declare soft: C : point();

void around() : point() {
try {
return proceed();
} catch (C e) {
System.out.println(e.getMessage());
}
}

}
Previous Topic:Runtime configuration i n Aspectj
Next Topic:Generics - Exception
Goto Forum:
  


Current Time: Fri Nov 28 04:40:41 GMT 2014

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

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