public class NumberFormatException extends IllegalArgumentException
String to
one of the numeric types, but the operation fails because the string
has the wrong format.| Constructor and Description |
|---|
NumberFormatException()
Create an exception without a message.
|
NumberFormatException(String s)
Create an exception with a message.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic NumberFormatException()
public NumberFormatException(String s)
s - the message