Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

A runtime Exception when received at client is wrapped in remote exception  RSS feed

anshul agrawal
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody,
In my application i am using ejb as business layer and calling them in servlets in case of any exception condition i throw an exception from ejb to servlet where i catch it and take necessay action.
My problem is that my exception class of mine extends Runtime Exception then thats is received wrapped up in remote exception and my exception is never thrown.
Can anybody tell me the reason and a way out from this problem,while keeping customized exception extending runtime extension
thanks in advance
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!