java.lang
Class NumberFormatException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
java.lang.NumberFormatException
- All Implemented Interfaces:
- Serializable
public class NumberFormatException
- extends IllegalArgumentException
Thrown when an invalid value is passed to a string-to-number conversion
method.
- Since:
- Android 1.0
- See Also:
- Serialized Form
|
Constructor Summary |
NumberFormatException()
Constructs a new NumberFormatException that includes the current
stack trace. |
NumberFormatException(String detailMessage)
Constructs a new NumberFormatException with the current stack
trace and the specified detail message. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
NumberFormatException
public NumberFormatException()
- Constructs a new
NumberFormatException that includes the current
stack trace.
- Since:
- Android 1.0
NumberFormatException
public NumberFormatException(String detailMessage)
- Constructs a new
NumberFormatException with the current stack
trace and the specified detail message.
- Parameters:
detailMessage - the detail message for this exception.- Since:
- Android 1.0
Please submit a feedback, bug or feature