public classNumberFormatExceptionextendsIllegalArgumentException
Integer.parseInt(String),Serialized Form| Constructor | Description |
|---|---|
NumberFormatException() | Constructs a NumberFormatException with no detail message. |
NumberFormatException(String s) | Constructs a NumberFormatException with the specified detail message. |
addSuppressed,fillInStackTrace,getCause,getLocalizedMessage,getMessage,getStackTrace,getSuppressed,initCause,printStackTrace,printStackTrace,printStackTrace,setStackTrace,toStringpublic NumberFormatException()
NumberFormatException with no detail message.public NumberFormatException(String s)
NumberFormatException with the specified detail message.s - the detail message.