Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic