Thanks a lot,

it seems i have to learn a lot more about ejbs.

Bye,

 Andreas

-----Urspr�ngliche Nachricht-----
Von: Aslak Helles�y [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 29. Januar 2003 13:15
An: [EMAIL PROTECTED]
Betreff: RE: [Xdoclet-user] problem with CMP bean ejbRemove()




> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Andreas
> W�st
> Sent: 29. januar 2003 10:07
> To: [EMAIL PROTECTED]
> 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



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to