Beispiel #1
0
 static void Main(string[] args)
 {
     PropertyEdit app = new PropertyEdit();
     try
     {
         app.DoAction(args);
     }
     catch (Exception e)
     {
         Console.WriteLine("Exception: " + e.Message);
         if (e.InnerException != null)
         {
             Console.WriteLine("Inner exception: " + e.InnerException.Message);
         }
     }
 }
Beispiel #2
0
        static void Main(string[] args)
        {
            PropertyEdit app = new PropertyEdit();
            try
            {
                app.DoAction(args);
            }
            catch (Exception e)
            {
                Console.WriteLine("Exception: " + e.Message);
                if (e.InnerException != null)
                {
                    Console.WriteLine("Inner exception: " + e.InnerException.Message);
                }
            }

            if (Debugger.IsAttached)
            {
                Console.WriteLine();
                Console.Write("Press any key to exit...");
                Console.ReadKey(true);
            }
        }
Beispiel #3
0
        static void Main(string[] args)
        {
            PropertyEdit app = new PropertyEdit();

            try
            {
                app.DoAction(args);
            }
            catch (Exception e)
            {
                Console.WriteLine("Exception: " + e.Message);
                if (e.InnerException != null)
                {
                    Console.WriteLine("Inner exception: " + e.InnerException.Message);
                }
            }

            if (Debugger.IsAttached)
            {
                Console.WriteLine();
                Console.Write("Press any key to exit...");
                Console.ReadKey(true);
            }
        }