2024-03-18 14:28:35 +01:00
|
|
|
public class Main {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
try {
|
|
|
|
|
ArithmeticExceptionVrai.computeDivision();
|
|
|
|
|
} catch (ArithmeticException e) {
|
2024-03-25 14:56:28 +01:00
|
|
|
System.out.println("Une erreur arithm├ętique s'est produite : " + e.getMessage());
|
2024-03-18 14:28:35 +01:00
|
|
|
}
|
|
|
|
|
}
|
2024-03-25 14:56:28 +01:00
|
|
|
}
|