public void Execute()
{
if (!File.Exists(m_options.PathToSolution))
throw new FileNotFoundException("Solution file not found");
processSolution();
}
public static int Main(params string[] args) { try { CommandLineArguments arguments = new CommandLineArguments(args); Options options = createOptions(arguments); if (options == null) { printUsage(); return 1; } Converter converter = new Converter(options); converter.Execute(); return 0; } catch (Exception e) { Console.WriteLine(e.Message); Console.WriteLine(e.StackTrace); return 1; } }