Uses of Class java.lang.NumberFormatException (Java SE 11 & JDK 11 )

## Uses of Class
java.lang.NumberFormatException

- Packages that use NumberFormatException
  Package | Description
  --- | ---
  java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
  java.lang | Provides classes that are fundamental to the design of the Java programming language.

- - ### Uses of NumberFormatException in java.awt

    Methods in java.awt that throw NumberFormatException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Color` | Color.`decode​(String nm)` | Converts a `String` to an integer and returns the specified opaque `Color`.

  - ### Uses of NumberFormatException in java.lang

    Methods in java.lang that throw NumberFormatException
    Modifier and Type | Method | Description
    --- | --- | ---
    `static Byte` | Byte.`decode​(String nm)` | Decodes a `String` into a `Byte`.
    `static Integer` | Integer.`decode​(String nm)` | Decodes a `String` into an `Integer`.
    `static Long` | Long.`decode​(String nm)` | Decodes a `String` into a `Long`.
    `static Short` | Short.`decode​(String nm)` | Decodes a `String` into a `Short`.
    `boolean` | Package.`isCompatibleWith​(String desired)` | Compare this package's specification version with a desired version.
    `static byte` | Byte.`parseByte​(String s)` | Parses the string argument as a signed decimal `byte`.
    `static byte` | Byte.`parseByte​(String s, int radix)` | Parses the string argument as a signed `byte` in the radix specified by the second argument.
    `static double` | Double.`parseDouble​(String s)` | Returns a new `double` initialized to the value represented by the specified `String`, as performed by the `valueOf` method of class `Double`.
    `static float` | Float.`parseFloat​(String s)` | Returns a new `float` initialized to the value represented by the specified `String`, as performed by the `valueOf` method of class `Float`.
    `static int` | Integer.`parseInt​(CharSequence s, int beginIndex, int endIndex, int radix)` | Parses the `CharSequence` argument as a signed `int` in the specified `radix`, beginning at the specified `beginIndex` and extending to `endIndex - 1`.
    `static int` | Integer.`parseInt​(String s)` | Parses the string argument as a signed decimal integer.
    `static int` | Integer.`parseInt​(String s, int radix)` | Parses the string argument as a signed integer in the radix specified by the second argument.
    `static long` | Long.`parseLong​(CharSequence s, int beginIndex, int endIndex, int radix)` | Parses the `CharSequence` argument as a signed `long` in the specified `radix`, beginning at the specified `beginIndex` and extending to `endIndex - 1`.
    `static long` | Long.`parseLong​(String s)` | Parses the string argument as a signed decimal `long`.
    `static long` | Long.`parseLong​(String s, int radix)` | Parses the string argument as a signed `long` in the radix specified by the second argument.
    `static short` | Short.`parseShort​(String s)` | Parses the string argument as a signed decimal `short`.
    `static short` | Short.`parseShort​(String s, int radix)` | Parses the string argument as a signed `short` in the radix specified by the second argument.
    `static int` | Integer.`parseUnsignedInt​(CharSequence s, int beginIndex, int endIndex, int radix)` | Parses the `CharSequence` argument as an unsigned `int` in the specified `radix`, beginning at the specified `beginIndex` and extending to `endIndex - 1`.
    `static int` | Integer.`parseUnsignedInt​(String s)` | Parses the string argument as an unsigned decimal integer.
    `static int` | Integer.`parseUnsignedInt​(String s, int radix)` | Parses the string argument as an unsigned integer in the radix specified by the second argument.
    `static long` | Long.`parseUnsignedLong​(CharSequence s, int beginIndex, int endIndex, int radix)` | Parses the `CharSequence` argument as an unsigned `long` in the specified `radix`, beginning at the specified `beginIndex` and extending to `endIndex - 1`.
    `static long` | Long.`parseUnsignedLong​(String s)` | Parses the string argument as an unsigned decimal `long`.
    `static long` | Long.`parseUnsignedLong​(String s, int radix)` | Parses the string argument as an unsigned `long` in the radix specified by the second argument.
    `static Byte` | Byte.`valueOf​(String s)` | Returns a `Byte` object holding the value given by the specified `String`.
    `static Byte` | Byte.`valueOf​(String s, int radix)` | Returns a `Byte` object holding the value extracted from the specified `String` when parsed with the radix given by the second argument.
    `static Double` | Double.`valueOf​(String s)` | Returns a `Double` object holding the `double` value represented by the argument string `s`.
    `static Float` | Float.`valueOf​(String s)` | Returns a `Float` object holding the `float` value represented by the argument string `s`.
    `static Integer` | Integer.`valueOf​(String s)` | Returns an `Integer` object holding the value of the specified `String`.
    `static Integer` | Integer.`valueOf​(String s, int radix)` | Returns an `Integer` object holding the value extracted from the specified `String` when parsed with the radix given by the second argument.
    `static Long` | Long.`valueOf​(String s)` | Returns a `Long` object holding the value of the specified `String`.
    `static Long` | Long.`valueOf​(String s, int radix)` | Returns a `Long` object holding the value extracted from the specified `String` when parsed with the radix given by the second argument.
    `static Short` | Short.`valueOf​(String s)` | Returns a `Short` object holding the value given by the specified `String`.
    `static Short` | Short.`valueOf​(String s, int radix)` | Returns a `Short` object holding the value extracted from the specified `String` when parsed with the radix given by the second argument.

    Constructors in java.lang that throw NumberFormatException
    Constructor | Description
    --- | ---
    `Byte​(String s)` | Deprecated. It is rarely appropriate to use this constructor.
    `Double​(String s)` | Deprecated. It is rarely appropriate to use this constructor.
    `Float​(String s)` | Deprecated. It is rarely appropriate to use this constructor.
    `Integer​(String s)` | Deprecated. It is rarely appropriate to use this constructor.
    `Long​(String s)` | Deprecated. It is rarely appropriate to use this constructor.
    `Short​(String s)` | Deprecated. It is rarely appropriate to use this constructor.