Hi,

On Wed, 17 Jan 2001, Chad LaJoie wrote:
> 1.  "The method return values in the home interface must be of valid types
> for RMI/IIOP."
>
> I get this one on my home interface and I am not sure what the problem
> is.  This is the declaration I have for the create method (which is the one
> it is complaining about)
>          public Accessor create(Hashtable attributes) throws
> RemoteException, CreateException;

The problem is in the method return value (Accessor interface).


> 2.  "The methods in the remote interface must include
> java.rmi.RemoteException in their throws clause."
>
> Now this one seems like a simple one except that I have the method throwing
> a RemoteException.  Here is what I have declared for my remote interface
>
>          public abstract Record getData(String recordName) throws
> RemoteException;

Is this part of the Accessor interface?  If it is, looks like the two
errors might be linked.

-- Juha



--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to