public class java.lang
NumberFormatException


Show All Login
Java SE 6
  
Extends: Throwable > Exception > RuntimeException > IllegalArgumentException
Details
Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
version1.21, 11/17/05
sinceJDK1.0
See also toString()

Constructors
public NumberFormatException()
Constructs a NumberFormatException with no detail message.
public NumberFormatException(String s) Details
Constructs a NumberFormatException with the specified detail message.
sthe detail message.