AspectJ - SoftException Support

Answered

Hi!

I'm very new to IntelliJ and currently I'm evaluting the benefits of IntelliJ in our project.

The problem is, that we have a module that uses AspectJ in a seperat folder with *.aj files to handle the exceptions.
In Eclipse I only have to add the folder to the classpath and convert it to an AnspectJ project.

The AspectJ Plugin is enabled but It doesn't recognize that we handle the Exceptions with AspectJ.
I get the hole time a compilation error: "Unhandled exception: java.sql.SQLException".

Does anyone know how I can fix this problem?

 

Thank you very much for your time!
best regards,

Michael

0
1 comment

Do you have AspectJ facet configured for the module? Is the Aspect module added as a dependency to the module with the source code where you get the exception? Have you set the compiler for the project?

Can you share a project to check?

0

Please sign in to leave a comment.