java.lang
Class NumberFormatException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--java.lang.IllegalArgumentException
|
+--java.lang.NumberFormatException
- public class NumberFormatException
- extends IllegalArgumentException
Signals that an invalid number format has occurred.
- See Also:
Integer.toString(int, int)
NumberFormatException
public NumberFormatException()
- Constructs a NumberFormatException with no detail message.
A detail message is a String that describes this particular exception.
NumberFormatException
public NumberFormatException(String s)
- Constructs a NumberFormatException with the specified detail message.
A detail message is a String that describes this particular exception.
- Parameters:
s
- the detail message