Class NumberFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.lang.NumberFormatException
- All Implemented Interfaces:
Serializable
Thrown to indicate that the application has attempted to converta string to one of the numeric types, but that the string does nothave the appropriate format.
- Since:
- 1.0
- See Also:
Constructor Summary
ConstructorsConstructorDescriptionConstructs aNumberFormatExceptionwith no detail message.Constructs aNumberFormatExceptionwith thespecified detail message.Method Summary
Constructor Details
NumberFormatException
public NumberFormatException()Constructs aNumberFormatExceptionwith no detail message.NumberFormatException
Constructs aNumberFormatExceptionwith thespecified detail message.- Parameters:
s- the detail message.