public class MainCapture {
    public static void main(String[] args) {
        try 
        {
            arrErr();
        } 
        catch (Exception e) 
        {
            System.out.println("Erreur :(");
        }
    }

    public static void arrErr()
    {
        System.out.println(8/0);
    }
}
