my dog learned polymorphism
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

Win a copy of REST with Spring (video course) this week in the Spring forum!
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?
I agree. Here's the link:
subject: ServerException, RemoteException problem.
It's not a secret anymore!