NumberFormatException

The NumberFormatException is an exception that occurs when an attempt is made to convert a string to a numeric type and the string contains non-numeric characters.

Contributors

Interested in helping build Docs? Read the Contribution Guide or share your thoughts in this feedback form.

Learn Java on Codecademy