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