Hi all, I have a CMP entity bean and a stateless session bean. The session bean has a method which takes an entity bean as a parameter. The first thing the method does is call a get method on the passed entity bean. So if the entity bean doesn't exist (because it had been removed by a client), the get method throws an ObjectNotFoundException. If I just throw this exception, JONAS wraps it in a ServerException. If I wrap the exception in something reasonable, like NoSuchObjectException or NoSuchEntityException, JONAS also wraps them in a ServerException. How do I convey to the client that the entity it passed doesn't exist? Any suggestions? Thanks, --Rob ---- To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "unsubscribe jonas-users". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".
