import java.io.*; public class exo1 { public static void divint (int x, int y) { int c=0; try { c=x/y; } catch (IOException e) { System.out.println("Erreur a été capturée!"); } } static void main (String [] args) { new exo1().divint(1,0); System.exit(0); } }