10 lines
289 B
Java
10 lines
289 B
Java
|
|
public class Main {
|
||
|
|
public static void main(String[] args) {
|
||
|
|
try {
|
||
|
|
ArithmeticExceptionVrai.computeDivision();
|
||
|
|
} catch (ArithmeticException e) {
|
||
|
|
System.out.println("Une erreur arithmétique s'est produite : " + e.getMessage());
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|