예제 #1
0
 public static void MetodoClase()
 {
     try
     {
         Burbujeo b = new Burbujeo();
         b.MetodoInstancia();
     }
     catch (MiException e) {
         Burbujeo.EscribirArchivo(e.Message);
         throw new MiException("MetodoClase");
     }
 }
예제 #2
0
 public static void MetodoClase()
 {
     try
     {
         Burbujeo b = new Burbujeo();
         b.MetodoInstancia();
     }
     catch (MiException ex)
     {
         Burbujeo.Escribir("Metodo Clase" + DateTime.Now);
         throw ex;
     }
 }
예제 #3
0
        public static void MetodoClase()
        {
            GuardarArchivo("Pasa por metodo de clase estatico");

            try
            {
                Burbujeo burb = new Burbujeo();
                burb.MetodoInstancia();
            }
            catch (MiException e)
            {
                throw e;
            }
        }