Java in a Nutshell

Previous Chapter 25
The java.lang Package
Next
 

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()


Previous Home Next
java.lang.Number (JDK 1.0) Book Index java.lang.Object (JDK 1.0)

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java
This HTML Help has been published using the chm2web software.