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)

Constructor Summary
NumberFormatException()
          Constructs a NumberFormatException with no detail message.
NumberFormatException(String s)
          Constructs a NumberFormatException with the specified detail message.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getMessage, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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