Skip to content

Glossary: Java Basics

NumberFormatException

The exception thrown when text such as `ten` can't be converted into a number by `Integer.parseInt`. It's a special kind of `IllegalArgumentException`.

Where the book teaches it

Related terms

parseIntIllegalArgumentException