[Chapter 25] 25.46 java.lang.NumberFormatException (JDK 1.0)

#

| Chapter 25 The java.lang Package |

## 25.46 java.lang.NumberFormatException (JDK 1.0)

###

Signals an illegal number format.

    public class NumberFormatException extends IllegalArgumentException {
        // Public Constructors
                public NumberFormatException();
                public NumberFormatException(String s);
    }

### Hierarchy:

Object->Throwable(Serializable)->Exception->RuntimeException-> IllegalArgumentException->NumberFormatException

### Thrown By:

BigDecimal(), BigDecimal.valueOf(), BigInteger(), Byte(), Byte.decode(), Byte.parseByte(), Byte.valueOf(), Color.decode(), Double(), Double.valueOf(), Float(), Float.valueOf(), Integer(), Integer.decode(), Integer.parseInt(), Integer.valueOf(), Long(), Long.parseLong(), Long.valueOf(), Short(), Short.decode(), Short.parseShort(), Short.valueOf()

java.lang.Number (JDK 1.0) |  | java.lang.Object (JDK 1.0)