加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090225104355/http://developer.android.com:80/reference/java/lang/NumberFormatException.html
public class

NumberFormatException

extends IllegalArgumentException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ java.lang.NumberFormatException

Class Overview

This runtime exception is thrown when a "string to number" conversion routine is passed an invalid value.

Summary

Public Constructors
NumberFormatException()
Constructs a new instance of this class with its walkback filled in.
NumberFormatException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NumberFormatException ()

Constructs a new instance of this class with its walkback filled in.

public NumberFormatException (String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters
detailMessage String The detail message for the exception.