When i run EJB, at end of business processing i get the message:
"com.ibm.ejs.cm.exception.WorkRolledbackException: Outstanding work on this connection which was not comitted or rolledback by the user has been rolledback."
I know the exact cause of the Exception, but could anyone tell me how to catch com.ibm.ejs.cm.exception.WorkRolledbackException. (I could not get com.ibm.ejs.cm.exception.WorkRolledbackException class , thats the main problem)
It is extremely important for me as i want to display customize message (Client doesn't like the original above message!!!!).
Currently iam catching 'Exception' and couldnot found com.ibm.ejs.cm.exception.WorkRolledbackException.
Note: Iam using a simple bean (an utility class) to close the connection