[jboss-user] [JBoss Seam] - Unable to catch exception in remove method

jpviragine do-not-reply at jboss.com
Mon Apr 23 12:12:37 EDT 2007


Hi, I'm unable to catch exceptions in remove method (SLSB):

public void remove(T entity) {
  | 		try {
  | 			entityManager.remove(entity);
  | 		} catch (Exception e) {
  | 			log.error("Error!");
  | 		}
  | 	}


The class/method that invoke the above code never appears in stack trace.

Any idea?

Thanks,

Joao Paulo

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

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



More information about the jboss-user mailing list