Click an exception, then select the correct catch block!
catch (NullPointerException e)
Handles null reference access
catch (ArrayIndexOutOfBoundsException e)
Handles invalid array index
catch (ArithmeticException e)
Handles division by zero
catch (NumberFormatException e)
Handles invalid number parsing
catch (StringIndexOutOfBoundsException e)
Handles invalid string index
catch (ClassCastException e)
Handles invalid type casting