Hi, i know there are a number of similar threads, but i just dont get it!

Im using RMI. My calls to the Data class may be remote or local, i think i have to make these calls transparent of location.
So i need a toplevel interface with public methods throwing Exception...ok i did this.
Then i Have LocalDataInterace which extends my toplevel interace to throw DataBaseExceptions and IOexceptions instead of Exception. my LocalData class can now implement this.
Now the probelem is the remote version. what the hell do i do?
If i extend the toplevel interace to create a new interface that throws RemoteException..but stop, i need to also extend Remote!! ugrgh bugger!
Thanks For Help!
Joe