Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » AJDT » Exception softening
Exception softening [message #596080] Thu, 29 March 2007 22:27
Andrej is currently offline Andrej
Messages: 10
Registered: July 2009
Junior Member
Hello,

I'm working on project(my diploma thesis) in which i would like to use as
many features as AspectJ and AJDT offers. I'm still learning, but so far,
i really like AspectJ and AJDT very much, it's really great for managing
cross-cutting concerns and i feel that i manage to implement more cleaner
and readable code and with better modularity.

The project is 3-tier app, which uses Java GUI, J2EE patterns, EJB, DAO
and such and postgreSQL DB.

I would like to ask about exception softening, because i'm using it for
example for softening SQLException, so that i'm handling it in aspect in
unified manner and it won't propagate further by throws clause or that i
don't have to write try and catch block in every DAO Operation.

When i declare softening like:
pointcut JavaSQLMethods() : call(* java.sql.*.*(..));

declare soft : SQLException : JavaSQLMethods();

When i run the app, then it does work as it should, i don't have to write
try, catch blocks or throws SQLException in every DAO Operation, but it
keeps showing errors in the editor part of IDE.....is it just my problem
or is it known issue?

Andrej J.
Previous Topic:How rename worked in AJDT1.4.1
Next Topic:Exception softening
Goto Forum:
  


Current Time: Thu Oct 02 12:30:57 GMT 2014

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

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