Example #1
0
        public static int Main(string[] args)
        {
            try
            {
                MsgGenMain msgGen = new MsgGenMain(args);
            }
            catch (Exception e)
            {
                Console.WriteLine("MsgGen.exe : fatal error MSGG0000: {0}\r\n\r\nStack Trace:\r\n{1}", e.Message, e.StackTrace);
                if (e is NullReferenceException || e is SEHException)
                {
                    throw;
                }
                return(2);
            }

            return(0);
        }
Example #2
0
File: MsgGen.cs Project: zooba/wix3
        public static int Main(string[] args)
        {
            try
            {
                MsgGenMain msgGen = new MsgGenMain(args);
            }
            catch (Exception e)
            {
                Console.WriteLine("MsgGen.exe : fatal error MSGG0000: {0}\r\n\r\nStack Trace:\r\n{1}", e.Message, e.StackTrace);
                if (e is NullReferenceException || e is SEHException)
                {
                    throw;
                }
                return 2;
            }

            return 0;
        }