From: <asl...@ne...> - 2003-01-29 12:14:54
|
> -----Original Message----- > From: xdo...@li... > [mailto:xdo...@li...]On Behalf Of Andreas > Wüst > Sent: 29. januar 2003 10:07 > To: xdo...@li... > Subject: [Xdoclet-user] problem with CMP bean ejbRemove() > > > Hi, > > i have a small problem with xdoclet 1.2b2 creating a CMP bean. > For some reason the created ejbRemove method in the CMP > bean always looks like : > > public void ejbRemove() throws javax.ejb.RemoveException > { > super.ejbRemove(); > > } > > Compiling the class fails with the error > > Exception RemoveException is not compatible with throws clause in > UserEJB.ejbRemove() > It's all in this error message. Just declare your own ejbRemove() to throw RemoveException Aslak |