java.lang
Class NumberFormatException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--java.lang.NumberFormatException
Can be thrown when attempting to convert a String
to
one of the numeric types, but the operation fails because the string
has the wrong format.
Authors:- Brian Jones
- Warren Levy <warrenl@cygnus.com>
NumberFormatException
public NumberFormatException()
Create an exception without a message.
NumberFormatException
public NumberFormatException(java.lang.String s)
Create an exception with a message.
Parameters:
String
to one of the numeric types, but the operation fails because the string has the wrong format.