try { double c=matematicas.dividir(-1.6, 0); } catch (Exception ex) { }