public void Run() { string line; while ((line = _commandSource.ReadLine()) != null) { try { _commandParser.Parse(line); } catch (ParserException e) { Console.Error.WriteLine(e.Message); continue; } } }