AJDT compiler results in errors [message #783613] |
Thu, 26 January 2012 04:32 |
Missing name Missing name Messages: 4 Registered: January 2012 |
Junior Member |
|
|
hi. i have AJDT 2.1.1 in eclipse 3.5. i have a very simple rcp application with a single plugin project bearing a single aspectj (.aj) file. there are also a few other plugin projects that reference that one aspectj file. i have converted all plugin projects to aspectj projects, and then referenced the aspect file via Aspect Path tab. all the expected weaving takes place without a problem.
however, after performing very first eclipse compilation with a new aspectj compiler, i noticed few errors. they all had to do with "throws Exception" function entries where the actual exception was not being thrown. and while that helped me clean up some entries where that was the case, it has created problems with some of my abstract classes. some of those classes define functions that contain "throws MyException" entries, yet do not actually throw it. their purpose, of course, is to be overridden by child classes that would be throwing that very exception. eclipse's default compiler did not seem to mind, yet this aspectj compiler does. please let me know what i am doing wrong and/or what can be done about this. i can definitely get around this via the use of interfaces, yet i do not feel that such is appropriate since eclipse's default compiler did not complain.
thank you!
|
|
|
|
Powered by
FUDForum. Page generated in 0.01793 seconds