0 / 60 seg.

What is the correct way to handle multiple exceptions in a single try-catch block?

try {
    // Code that may throw exceptions
} catch (NumberFormatException | ArithmeticException e) {
    System.err.println(e.getMessage());
}