Tuesday 12 March 2013

java.lang NumberFormatException


java.lang
NumberFormatException

Declaration
public class NumberFormatException extends IllegalArgumentException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--java.lang.NumberFormatException
Description
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.



Constructors
NumberFormatException()
NumberFormatException(String s)


Methods inherited from class Object
equals(Object), getClass(), hashCode(), notify(), notifyAll(), wait(), wait(), wait()
Methods inherited from class Throwable
getMessage(), printStackTrace(), toString()


Constructors
NumberFormatException()
Declaration:
public NumberFormatException()
Description:
Constructs a NumberFormatException with no detail message.
NumberFormatException(String)
Declaration:
public NumberFormatException(java.lang.String s)
Description:
Constructs a NumberFormatException with the specified detail message.
Parameters:
s - the detail message.











No comments:

Post a Comment