[jboss-user] [JBoss AOP] - Re: Can i have interceptor on throw exception?

avihaimar do-not-reply at jboss.com
Tue Apr 29 05:23:34 EDT 2008


I think i didnt was clear, so please let me explain again the problem.

I have a Statless bean with method - doProcess(){
    processA();
    entitymanager.find(XXXX);
}

the call to entitymanager.find failed, because it complains that the transaction was marked for rollback.

My problem is to find the poinf where the transaction marked for rollback.
In my log i dont found any exception, so maybee some where in processA() an exception is catched without logging it or throw it again.

I think on using AOP in order to find this point- or by intercept the transaction (but this is jboss object , so i might have problem) or by add (if it possible) pointcut on any throw exception in the system.

Any suggestions?

10x

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147458#4147458

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147458



More information about the jboss-user mailing list