Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ServerException, RemoteException problem.

 
Rohit Kelkar
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I throw a BadLicenseException(created by me and subclass of RemoteException) from a session bean and try to catch it in a servlet that calls the bean. However I get back a ServerException instead of BadLicenseException.
Is there any way I get back the right BadLicenseException?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic