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

Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.

See Also

Summary

Public Constructors
NumberFormatException()
Constructs a NumberFormatException with no detail message.
NumberFormatException(String s)
Constructs a NumberFormatException with the specified detail message.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public NumberFormatException ()

Constructs a NumberFormatException with no detail message.

public NumberFormatException (String s)

Constructs a NumberFormatException with the specified detail message.

Parameters
s the detail message.