| Package java.lang |
Previous |
Java API |
Index |
Next |
public class java.lang.NumberFormatException
extends java.lang.IllegalArgumentException
{
// Constructors
public NumberFormatException();
public NumberFormatException(String s);
}
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.
public NumberFormatException()Constructs a NumberFormatException with no detail message.
public NumberFormatException(String s)Constructs a NumberFormatException with the specified detail message.
Parameter Description s the detail message
| © 1996 Sun Microsystems, Inc. All rights reserved. |