static void Main() { string line = Console.ReadLine(); while (line != "End") { try { LeagueManager.HandleInput(line); } catch (ArgumentNullException e) { Console.WriteLine(e.Message); } catch (InvalidOperationException e) { Console.WriteLine(e.Message); } catch (ArgumentOutOfRangeException e) { Console.WriteLine(e.Message); } line = Console.ReadLine(); } }