Update RemoteInterface.java - added throws clause for all functions