This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes ServerException, RemoteException problem. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "ServerException, RemoteException problem." Watch "ServerException, RemoteException problem." New topic

ServerException, RemoteException problem.

Rohit Kelkar
Ranch Hand

Joined: Sep 16, 2002
Posts: 38
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.
subject: ServerException, RemoteException problem.