static void rename(string path, string name) { try { Console.WriteLine(nameServer.rename(path, name)); } catch (Exception) { Console.WriteLine("Device temporarily unavailable. Try again later."); } }
static void rename(string path, string name) { try { Console.WriteLine(nameServer.rename(path, name)); } catch (Exception) { Console.WriteLine("Device temporarily unavailable. Try again later."); } }