コード例 #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Eccezioni");
            //ExceptionDatabase.Run();

            try
            {
                Utente utente = new Utente(null);
                utente.Controllo(utente);
            }
            catch (ExceptionCustom e)
            {
                Console.WriteLine(e.Message);
                if (e.InnerException != null)
                {
                    Console.WriteLine("Inner exception: {0}", e.InnerException);
                }
            }
        }