Thrown by Integer.parseInt, Double.parseDouble, and similar methods when the string cannot be parsed as the target numeric type.
NumberFormatException
java Thrown by Integer.parseInt, Double.parseDouble, and similar methods when the string cannot be parsed as the target numeric type.