public MiClase(int numero) { try { MiClase objeto = new MiClase(); } catch (DivideByZeroException esepcion) { throw new DivideByZeroException("fallo3", esepcion); } }
public MiClase() { try { MiClase.StaticMethod(); } catch (DivideByZeroException esepcion) { throw new DivideByZeroException("fallo2", esepcion); } }
public static void metodo() { int numero = 0; try { MiClase objeto = new MiClase(numero); } catch (DivideByZeroException gato) { throw new UnaEsepcion(); } }