C and D Integer.parseInt can throw a NumberFormatException IllegalArgumentException is its superclass.