Java - Exception Handling
Identify the error in this code snippet:
try {
int x = 5 / 0;
} catch (Exception e) {
System.out.println("Error caught");
}
catch (ArithmeticException e) {
System.out.println("Arithmetic error");
}