Changed catch(RemoteException | NotBoundException) to be in two catch
clauses.