Re: Can't throw exception from entity bean?

2001-01-17 Thread Daniel G. Koulomzin
Did you list RemoteException in the throws clause of all your EJBObject's methods? -Dan Luke Nelson wrote: > When I try to throw an exception from a get/set method in an entity bean > using CMP, Orion shows the following error during deployment: > > Auto-deploying entitybeans.jar (Class 'com.g

RE: Can't throw exception from entity bean?

2001-01-16 Thread Mike Cannon-Brookes
You're allowed to throw any exceptions you want, but you must specify them in the method header (in both the EJB class and the Remote interface). -mike > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Luke Nelson > Sent: Wednesday, January 17, 2001