public void setDataDir(File file) { try { rmi.setDataDir(file); } catch (RemoteException ex) { throw new RuntimeException(RMI_CONNECTION_FAILED, ex); } }