I have a servlet which is calling entity bean, in entity beans store method I am throwing Application Exception, but in servlet I am not able to catch this exception ,instead of my application exception I get TransactionRolledBack exception, which I think is throwen from the container when I mark transaction for rollback only in entity beans store method. Can anybody suggest me how I can catch my application exception in servlet.
posted 14 years ago
Moving to Servlets.
"JavaRanch, where the deer and the Certified play" - David O'Meara