Since EJB 1.1 you are not allowed to throw RemoteException from your bean
methods.  Thats why XDoclet doesn't check for it.  You should wrap a
RemoteException in an EJBException and let the container deal with it.

cheers 
dim

On Wed, 3 Oct 2001, Michael Larionov wrote:

> Hi,
> 
> I have the following problem. I have a session bean AAA which defines
> method ejbRemove() throws RemoteException.
> 
> Now, xdoclet generates for me a file AAASession which has the
> following method:
> 
>    public void ejbRemove()
>    {
>       super.ejbRemove();
>    }
> 
> Now I wonder what happened with RemoteException? It is neither caught
> nor thrown in this method. So, as a result, my project does not
> compile.
> 
> I am using xdoclet 1.0.1
> 
> Please help!
> 
> Thanks!
> 
> Michael.
> 
> 
> 


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to